Turtles often climb onto rocks or logs to bask in the sun. This behavior is essential for their health, as the warmth from the sun helps regulate their body temperature, aids in digestion, and supports their immune system.