The temperature of the nest determines the sex of a sea turtle hatchling. Warmer temperatures result in a majority of females, while cooler temperatures result in a majority of males.