What does a Dam do?

A dam holds back a whole lake of water, then lets it rush through to spin power machines!

▶ what THAT thing do?!