Solar isn’t as complex as people make it out to be. Sunlight is free. There is the cost of solar panels, to get as much sunlight as possible. Simply called a photovoltaic system, which comes with its panel, inverter and battery. Lots of photovoltaic systems put together make an array. Multiple rows of arrays produce Direct Current (DC) which has to be converted into Alternating Current (AC), so there’s another largish inverter.
A company’s job is to put all of this together, sell electricity to someone—usually the state electricity board—and in turn, make money. Year after year. Until such a time, 15 or 25 years in, when the cost of putting all this together and maintaining it over the years becomes less than the total money received from the state electricity board.