a) In geology, compaction (= geological compaction) refers to the densification process caused by the gradual increase of overburden (weight) resulting from continuous deposition of sediments or by pressures from the movement of rock within the crust.
b) The geologic process of changing fine-grained sediment to consolidated rock, as in clay to shale.
c) In soils engineering, compaction is the artificial process to improve the engineering properties of a clay or soil by mechanical energy (e.g., vibration, static pressure). The clay or soil is usually partially saturated and thus contains mineral particles, air, and water. Compaction reduces the volume of air in the pores so that the dry density of the soil/clay increases. In practice, to maximize compaction, the water content is adjusted to a suitable value, called the optimal water content, so that the dry density approaches a maximum value.
See water, optimal content for compaction; consolidation, clay or soil