$CO_{2}$ is opaque to infra-red rays, which allow entry of radiations in atmosphere but prevents return of heat to space from earth.
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.