Renewable energy sources also have a much smaller impact on the environment than fossil fuels, which produce pollutants such as greenhouse gases as a by-product, contributing to climate change. Gaining access to fossil fuels typically requires either mining or drilling deep into the earth, often in ecologically sensitive locations.