It works like any other pump set with the only difference being the solar energy used instead of non-renewable energy for its operation. When sunlight falls on the solar panels it produces direct current (DC) which then feeds the motor to pump out the water. However, in the case where the motor requires an alternating current (AC), the DC produced by solar panels is converted to AC using an inverter.