Sea turtles come ashore for several important reasons:
1. Nesting: Females crawl onto beaches to dig nests and lay eggs in the sand.
2. Mating: They gather in mating grounds before females return to shore to nest.
3. Resting and Basking: They haul out to rest, regulate body temperature, and replenish energy.
4. Avoiding Predators: Land offers temporary refuge from sharks, killer whales, and other ocean predators.
5. Feeding: Some herbivorous species may feed on coastal vegetation unavailable in the ocean.