All solar systems operate on the same basic principles. First they convert sunlight into DC power through the photovoltaic PV effect. This DC power can either be converted by a solar inverter into AC power or stored in a battery and run home appliances. Depending on the solar system type, any excess solar energy can then be fed into the electricity grid for credits (on-grid solar) or stored in various battery storage systems (off-grid solar).