Examples of the application of geotechnics include : the prediction, prevention or mitigation of damage caused by natural hazards such as avalanches, mud flows, landslides, rockslides, sinkholes, and volcanic eruptions; the application of soil, rock and groundwater mechanics to the design and predicted performance of earthen structures such as dams; the design and performance prediction of the foundations of bridges, buildings, and other man-made structures in terms of the underlying soil and / or rock; and flood control and prediction.