Many whale species, including sperm whales, engage in a behavior called logging.
During logging, the whales float near the surface, motionless, resembling logs. This often occurs during the day, a behavior known as day sleeping. In this state, they conserve energy and still get the rest they need.
Young whales and calves usually sleep alongside their mothers, sometimes aided by the mother’s slow, rhythmic swimming. In larger pods, whales may synchronize their rest periods for safety.