To see how this works, you need to understand the various forces at work in the air and underwater. While these environments seem very different to us, water and air are actually very similar. Both are fluids, substances with mass but no shape. On Earth, an object immersed in a fluid (such as a fish or a person) experiences two major forces:
- The downward pull of gravity
- The upward push of buoyancy
The force of buoyancy on an object is equal to the weight of the fluid displaced by that object. For example, if you submerge an empty gallon milk jug in a bathtub, it displaces a gallon of water. The water in the bathtub then pushes up on the jug with a little more than 8 pounds of force, the weight of a gallon of water. An object with greater volume is pushed up with greater force because it displaces more fluid. Of course, if the object is denser (and therefore heavier) than water, it doesn't matter how much water it displaces -- it will still sink.
To ascend, a fish must reduce its overall density by increasing its volume without significantly increasing its mass. Most fish do this with something called a swim bladder. A swim bladder is just an expandable sac, like a human lung. To reduce its overall density, a fish fills the bladder with oxygen collected from the surrounding water via the gills. When the bladder is filled with this oxygen gas, the fish has a greater volume, but its weight is not greatly increased. When the bladder is expanded, it displaces more water and so experiences a greater force of buoyancy. When the bladder is completely inflated, the fish has maximum volume and is pushed to the surface. When the bladder is completely deflated, the fish has minimum volume and sinks to the ocean floor. To stay at a particular level, a fish fills its bladder to the point at which it displaces a volume of water that weighs what the fish weighs. In this case, the forces of buoyancy and gravity cancel each other out, and the fish stays at that level.
Most fish rise and sink using this method, but not all do. Some species don't need a swim bladder because they spend all their life skimming along the ocean floor. Other fish, such as rays and sharks, ascend and descend by propelling themselves forward. Just as in an airplane, the movement of fluid under the fins creates lift, which pushes the fish upward. To learn more about this process, check out How Airplanes Work and How Sharks Work.
Here are some interesting links:


