A body is floating on water. Then:
Buoyancy
Whenever a body is immersed in liquid it experiences an upward force.
For a body to float on liquid the net force acting on the body must be zero. So, the buoyant force acting on the body must be equal to the weight of the body.