Geotechnical engineering is a branch of civil engineering that applies soil mechanics, rock mechanics, and groundwater conditions to design foundations, retaining structures, earth structures, and environmental containment systems. Geological engineers use principles of earth sciences and geotechnical engineering to solve problems involving soil, rock, and groundwater, and to design underground structures. They often work with other professionals on major projects involving site selection, natural hazards, foundations, groundwater, slopes, dams, and environmental remediation.