Why have locks been created between the Great Lakes and the St. Lawrence River?

A.
elevation between the areas is different

B.
to slow the shipping that goes through them

C.
to produce hydroelectricity

D.
to prevent flooding