Whether an object will sink or float in a liquid is determined by the density of the object compared to the density of the liquid. If the density of a substance is less than the density of the liquid it will float. For example, a piece of wood which is less dense than water will float on it. Any substance having more density than water (for example, a stone), will sink into water.