Buoyancy is the upward force exerted by a fluid on an object submerged or partially submerged in it. The buoyant force depends on the volume of fluid displaced by the object and the density of the fluid. Objects with densities lower than the fluid they displace will float due to positive buoyancy, while objects with higher densities will sink due to negative buoyancy. The location of an object's center of buoyancy relative to its center of gravity determines its stability in a fluid.