The reptile's body temperature rises when the external temperature rises. When the temperature drops, so does his body temperature. If a reptile feels cold because the external temperatures have made his blood cold, he'll lie in the sun to warm up.
hope this helps!!