How can something so heavy still float?

I always see huge ships floating, but they’re made of steel. How does that work?

Steel ships are designed to displace a lot of water, which generates enough buoyant force to keep them afloat.

They also have a lot of air inside, which lowers their average density compared to water.

But if water gets in, like during a breach, the ship’s density increases, and it can sink.