Consolidation of soil refers to the process by which soil decreases in volume over time under the action of a sustained load, primarily due to expulsion of water from its pores, leading to increased soil density. This phenomenon is important in geotechnical engineering as it can significantly impact the structural integrity of buildings and infrastructure built on certain soil types.