Due to the high specific heat capacity of water. it can absorb large amount of heat without getting vaporized. Hot water also remains hot for a long time as it gets cooled slowly. As a result, the heat in the hot water bottles radiates heat slowly to keep the building beds warm.