Buoyancy is the upward force exerted on an object immersed in a fluid (such as a liquid) due to the pressure difference between the top and bottom of the object. The magnitude of the buoyant force is equal to the weight of the fluid displaced by the object, following Archimedes' principle. Objects that are less dense than the fluid will float, while those that are denser will sink.