A pile foundation is a type of deep foundation that consists of long, slender columns (piles) driven or drilled into the ground to support structures. These piles transfer the load of a building to deeper, more stable soil layers or rock, making them essential in areas with weak or unstable surface soils. Pile foundations are particularly important for structures that need to resist settlement and lateral forces, such as bridges, tall buildings, and offshore platforms.