How does the swim bladder of fishes work allowing fishes to control their depth under water?
From Hydrostatics it is called 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 decreases the density of the fish body and when it is emptied this density is enhanced. So this mechanism controls the fish depth under water.