Depending on their function, piles are classified as bearing piles, friction piles, friction-cum-bearing piles, batter piles, guide piles.