How does the swim bladder of fishes work allowing fishes to control their depth under water?
From Hydrostatics it is known that an object does not sink if its density is equal or less than the density of the fluid in which it is immersed. When the swim bladder is filled by gas it reduces the density of the fish body and when it is emptied this density is increased. So this mechanism controls the fish depth under water.