An iron needle slowly placed on the surface of water floats in it because:
when inside water it will displace more water than its weight
the density of material of needle is less than that of water
of surface tension
of its shape
surface of the liquid acts as a stretched elastic membrane due to surface tension on it needle can float.