Original: Dams generally serve the primary purpose of retaining water, while other structures such as floodgates or levees (also known as dikes) are used to manage or prevent water flow into specific land regions.
Simplified: Dams generally serve the primary purpose of retaining water.