What is buoyancy?
Buoyancy is the upward force that a liquid or gas pushes on an object placed in it. If the buoyant force is greater than the object's weight, the object floats; if it is smaller, the object sinks.
When an object is placed in water, it pushes some water out of the way. This is called displacement.
Archimedes' principle
The ancient Greek scientist Archimedes discovered that the buoyant force equals the weight of the fluid the object displaces.
According to a famous story, he realized this while getting into a bath and noticing the water level rise. He is said to have shouted Eureka, meaning I have found it.
Why a steel ship floats
A solid lump of steel sinks, because it is much denser than water. But a ship's hull is shaped to hold a lot of air, so it displaces a huge amount of water. The weight of that water equals the ship's weight, so it floats.
Floating and sinking
Objects less dense than water, like wood or ice, float. Salt water is denser than fresh water, so things float more easily in the sea. In the Dead Sea, people float with almost no effort.
Submarines control their depth by filling tanks with water to sink and pumping in air to rise.
Hot air balloons use buoyancy in air.