The answer is Hydrogen bonding.
Hydrogen bonding among water molecules is responsible for the high specific heat of water the result of which water gains heat very slowly.
Specific heat is the amount of heat per unit mass that is required to raise the temperature by one degree Celsius.
The specific heat of water is 4.186 joules/gram Celcius, which is higher than any other common substance. It is higher than that of a metal.
Thus due to this, water tends to boil at high temperature.