Geotechnical engineering requires a wide range of knowledge, from geology to construction technology. Eurocode 7 deals specifically with the design of certain geotechnical structures: shallow foundations, deep foundations, reinforced soils, retaining screens and retaining walls.
The role of foundations is to distribute the weight of the structure on the ground, and they have an anchoring function. This is the subject covered by Eurocode 8.