Shallow foundations are crucial in transferring loads from structures to near-surface soil or rock. They're used when the soil has sufficient bearing capacity at a relatively shallow depth, typically less than the foundation's width. Common types include spread footings, strip footings, and mat foundations. Key considerations in shallow foundation design include bearing capacity, settlement, and frost heave. Site investigation is essential to determine soil properties and select the appropriate foundation type. Design must ensure safety against bearing capacity failure and excessive settlement while considering factors like frost depth and seismic loads.