The sun's rays warm darker colored objects more than they warm lighter ones. In the summer we feel hotter when we where black clothing because it is absorbing the heat. But we feel cooler when we wear white because it is reflecting the heat. Energy has different ways of moving from warmer matter to cooler matter. Conduction is when a warmer object touches a cooler one.
Energy flows from one atom to another in the warm object.
These atoms hit the atoms in the cooler object making a cool atom warm. The atoms continue hitting all the cool ones until they are warm. Energy or heat moves easily through some kinds of matter. Metals are good conductors because energy travels quickly through them , heating all the atoms along the way. Insulators are objects that don't conduct well.