Electromagnets are used for various purposes but I fathom in this instance, the questioner is asking about how electromagnetics can be used to attraction or repulsion.
Example, electromagnets are used for attraction in cranes which attach them to containers in order to lift them.
Meanwhile, Maglev trains use electromagnets repulsive properties.
Answer:
I believe that the answer is D. There are drilling platforms all along the coast that are used to drill for natural gas that can be used to generate electricity.
Explanation:
Solar panels use the sun, and that is renewable.
The power plant uses tides and waves, they are renewable.
Windmills use wind, that is renewable.
So, the answer is D.