With solar energy, we reduce the need to generate electricity from fossil fuels such as coal and gas which create carbon dioxide (CO2).
More use of renewable energy drastically reduce the impact of global warming. This effect is even stronger if your solar system lasts a long time.