First, the temperature and energy of the water increases. It is also impossible to have a process that transfers heat from cool objects to warm objects without using work. Some amount of energy in a reaction is always lost to heat. Also, a system can not convert all of its energy to working energy. The second part of the law is pretty obvious .
Heat naturally wants to flow from warmer to cooler areas.
Energy wants to flow and spread out to areas with less energy. If it goes the other way, the system must work for it. Andrew Rader Studios, All rights reserved.