Marine mammals have developed remarkable strategies for resting safely.
During this state, one cerebral hemisphere shows sleep-related activity while the other remains more alert.
The exact sleeping behavior varies https://www.goodreads.com/user/show/204970063-fxx