Christopher B. answered 10/04/21
Experienced Physics Teacher/Tutor with Engineering Background
Hey Xochitl,
For an object to "heat up", its internal energy must be increasing (by definition). For something's energy to increase, this means that something is doing work on it (again, by definition). So, anything that heats up water will be "doing work on it". Hope this helps.