A motor car with its glass totally closed, is parked directly under the sun

A motor car with its glass totally closed, is parked directly under the sun. The temperature inside the car rises very high. Explain.

Sun emits infrared radiations, which pass through the glass and heat the car. The radiations cannot pass out of the glass, so the heat gets trapped inside, raising the temperature of the interior.
This is because glass is transparent to infrared radiations released from the sun, having smaller wavelength than that emitted by the interior of the car, which have longer wavelength to which glass is opaque.