Which has been the primary source of energy in the most recent century?

The primary source of energy in the most recent century has been fossil fuels, including coal, oil, and natural gas. These sources of energy have been widely used for electricity generation, transportation, and heating, but they also have significant environmental and health impacts due to their greenhouse gas emissions and air pollution. In recent years, there has been a growing push towards renewable energy sources such as solar, wind, and hydroelectric power to reduce dependence on fossil fuels and mitigate climate change.