Fact 1: if an object is in the sunlight then that object will absorb solar energy. 
Fact 2: When solar energy reaches the earth's surface it is absorbed and reradiated as heat.
An object in the sunlight will absorb energy and re-radiate it as heat.