Why do marine mammals float?

Not all marine mammals float, but the ones that do float because the body of the animal is sitting on the surface of the water and that makes the pressure of the body of the animal float because the body is rising from all the pressure.

Hope this helped

-stupid factory