Which of the following is a primary characteristic of hydroelectric power generation?
A) Extraction of energy from nuclear reactions
B) Conversion of mechanical energy into electrical energy
C) Use of solar panels to generate electricity
D) Harnessing the kinetic energy of flowing water
E) Utilization of geothermal heat for power generation