Solar radiant energy entering a room through the glass is absorbed by interior objects and surfaces, which then retransmit the energy as thermal radiation, mainly in the far infra-red band.  The solar energy entering through the glass is trapped in the room, which then tends to heat up and is referred to as the "greenhouse effect".