Fish sleep underwater by entering a state of rest where their body functions slow down, but they remain able to swim and respond to stimuli. Some fish may find a safe spot in the water to rest while others may continue swimming slowly during their sleep.