The volume of water displaced by the object gives
weight of the submerged part of the object
When a body floats in a liquid, the weight of the liquid displaced by its immersed part is equal to the total weight of the body.
The weight of the floating body = Weight of the liquid displaced by its immersed part(i.e., buoyant force)