Although other shark species of the order Orectolobiformes are benthic (live on or near the bottom), the whale shark lives in the pelagic zone. Studies show that this shark prefers warm waters, with surface temperatures of around 21-30 °C. It is often seen offshore but commonly comes close inshore, sometimes entering lagoons or coral atolls. Whale sharks sometimes swim deeper than 700 metres 