Soil is formed by the breaking down of rocks by the action of wind, water and climate. This process is called weathering.
The nature of any soil depends upon the rocks from which it has been formed and the type of vegetation that grows in it.