Windshield sunshades have a reflective surface to bounce the light back, reducing the interior temperature. The visible light that passes into the interior through the windshield is converted into the infrared light which, in its turn, is blocked by the glass and gets trapped inside, heating up the interior.