Deep foundations are used when the bearing capacity of soil near the surface is insufficient or space is restricted for shallow foundations. Deep foundations extend below the shallow soil layers to reach stronger soil at depth. Common types include pile foundations, caisson foundations, and cofferdams. Pile foundations transmit structural loads to the ground through end bearing on a hard layer or side friction along the pile. Piles can be made of timber, concrete, steel, or a composite of materials. The type of pile used depends on factors like soil conditions, structural loads, material availability, and cost.