Answer: Electromagnetic and thermal
Explanation: The solar panels allows us to harness the electromagnetic energy and convert it into thermal energy which is used to heat water.
The reason it is electromagnetic energy not solar because light is a form of electromagnetic energy.
Solar panels converts energy into different forms based on the type of conversion we want.