People take part in a protest against the increase of the price of electricity in Madrid, Spain, Oct. 6, 2021.

Watch: Here's how the price of electricity is set in the EU

The price of electricity varies widely depending on the energy source used to generate it.