Solar energy for homes is produced by a connected group of photovoltaic modules or panels usually setup as an array on a residential roof. The panels convert solar light into electric current via a 'photo-electric effect', the outcome being DC electric power. This power is fed into an Inverter to convert the current into AC power, usable in a residential household.
Solar 'On Grid" plan setup
Residential solar power can be "On Grid", where excess energy produced is sold back to the electricity provider.
Your solar power system can also be "Off Grid" where the residence is self sufficient whereby excess energy is saved in batteries and extra energy is provided by a generator or wind power.
Panels need to be positioned to capture the most sun for the most part of the day so need to be firstly facing true north in the Southern hemisphere and true south in the Northern hemisphere. Secondly, the tilt should be equal to your latitude, plus 15 degrees in winter, or minus 15 degrees in summer.
Solar 'Off' Grid plan setup