Muslim engineers in the Islamic world made a number of innovative industrial uses of hydropower, and early industrial uses of tidal power and wind power, fossil fuels such as petroleum, and early large factory complexes (tiraz in Arabic). The industrial uses of watermills in the Islamic world date back to the 7th century, while horizontal-wheeled and vertical-wheeled water mills were both in widespread use since at least the 9th century. A variety of industrial mills were being employed in the Islamic world, including early fulling mills, gristmills, hullers, sawmills, ship mills, stamp mills, steel mills, sugar mills, tide mills and windmills. By the 11th century, every province throughout the Islamic world had these industrial mills in operation, from al-Andalus and North Africa to the Middle East and Central Asia. Muslim engineers also invented crankshafts and water turbines, employed gears in mills and water-raising machines, and pioneered the use of dams as a source of water power, used to provide additional power to watermills and water-raising machines. Such advances made it possible for industrial tasks that were previously driven by manual labour in ancient times to be mechanized and driven by machinery instead in the medieval Islamic world. The transfer of these technologies to medieval Europe had an influence on the Industrial Revolution.
Is there an answer to this question (If it cannot be answered, say "unanswerable"): Who invented dams?
unanswerable