You could connect a solar panel directly to a water pump. It is not a good idea, though. The erratic pulse of electricity produced by the solar panel will burn out the pump at some point. That process can take.
[pdf] The short answer is no—solar inverters do not produce or convert energy at night because they rely on sunlight to generate electricity. Solar inverters are designed to convert the DC electricity from solar panels into AC power during daylight hours when sunlight is available.
[pdf] Top listed global companies in the Solar Pump Invertor industry are: Shakti Pumps Waaree Energies Ltd Fimer Grundfos Solar Schneider Hitachi, Bright Solar Limited Solartech Voltronic Power Technology Corp Others Bridging the Gap by Exploring Top Leaders Competitive Landscape of the Solar Pump Invertor Market
[pdf]