Replacing fossil fuels with renewable energy contributes to reducing carbon emissions