单项选择题

Energy is obtained from rivers by ______.

A.building bridges across them
B.building dams across them
C.driving generators into them
D.channelling them into homes and factories