How do bony fishes stay afloat?

they have an organ called a swim bladder. It is filled with gas and it keeps them afloat.