The bottom part of the foundation of a building is made wider so that the weight of the building will act on larger surface area exerting less pressure on the ground (as pressure is inversely proportional to surface area). This avoids sinking of buildings into the earth.