The material that absorbs the heat of the system is water owing to its high specific heat capacity.
The specific heat capacity of a substance refers to the amount of heat that is capable of increasing the temperature of 1 Kg of a body by 1 K. The higher the specific heat capacity, the more the amount of heat that the body can absorb without temperature change.
The material that absorbs the heat of the system is water because water has a higher specific heat capacity than all the other materials present.