Generating electricity in real time A number of states are mandating that utilities increase their use of renewable energy as a way to reduce dependence on fossil fuels such as coal, oil, and natural gas, which affect air quality and release greenhouse gases associated with climate change.