On a hot day, a car is left in sunlight with all the windows closed

On a hot day, a car is left in sunlight with all the windows closed. After some time, it is found that the inside of the car is considerably warmer than the air outside. Explain, why?

Glass transmits about 50% of heat radiation coming from a hot source like the sun but does not allow the radiation from moderately hot bodies to pass through it. Due to this, when a car is left in the sun, heat radiation from the sun gets into the car but as the temperature inside the car is moderate, they do not pass back through its windows. Hence, inside of the car becomes considerably warmer.