A watermill is a structure that uses a water wheel or turbine to drive a mechanical process such as ground flour or lumber production, or metal shaping (rolling, grinding or wire drawing). A watermill that generates electricity is frequently called a hydroelectric plant.