Foundation (engineering)
A foundation is the element of a structure which connects it to the ground, and transfers loads from the structure to the ground. Foundations are generally considered either shallow or deep. Foundation engineering is the application of soil mechanics and rock mechanics (Geotechnical engineering) in the design of foundation elements of structures.
Shallow foundation
A foundation must bear the structural loads imposed upon it and allow proper drainage of ground water to prevent expansion or weakening of soils and frost heaving. While the far more common concrete foundation requires separate measures to ensure good soil drainage, the rubble trench foundation serves both foundation functions at once.