All liquids and gases in the presence of gravity exert an upward force—called buoyancy—on any object immersed in them. If the object is less dense than the liquid or gas, buoyancy will make it float. A cork floats in water because it is less dense than a cork-size volume of water. But it won’t float in air because it is denser than the same volume of air.