A shallow foundation is a type of foundation that transfers the load of a structure to the soil at a relatively shallow depth, typically less than 3 meters. These foundations are used for buildings that have lighter loads and are situated on stable soil, making them a cost-effective choice for many construction projects. Shallow foundations come in various forms, including spread footings, strip footings, and mat foundations, and they play a crucial role in ensuring the stability and safety of structures.