Imagine you have a bunch of little magnets that you can't see. These magnets are called "electrons" and they live inside water. Sometimes, we can use special machines to make these electrons move really quickly. When the electrons move fast, they create a magnetic field. This magnetic field can push other things around or make them spin.
When we shine bright lights or use other special machines to make these electrons move faster, they create even stronger magnetic fields. The water molecules can absorb this energy and start moving around. The faster the water molecules move, the warmer the water gets. This is why you may have noticed that microwaving water makes it hot.
Water is very good at absorbing (or taking in) electromagnetic energy. This is why microwaves, which use electromagnetic waves to heat food, can heat up water so easily. Electromagnetic waves are all around us - from the light we can see to the invisible radiation from our phones and TVs. Water can take in a lot of this energy and turn it into heat, which is why it's important to be careful around hot liquids.