In some species, there is temperature-dependent sex determination. Temperature determines whether an egg develops into a male or a female: a higher temperature causes a female, a lower temperature causes a male. Large numbers of eggs are deposited in holes dug into mud or sand. They are then covered and left to incubate by themselves. When the turtles hatch, they squirm their way to the surface and head toward the water. No turtle mother cares for its young.