The sand cone test is used to determine the in-place density of compacted soil or granular materials. It involves excavating a test hole, collecting a soil sample, filling the hole with dry sand, and measuring the density of the sand to calculate the density of the compacted soil. The test provides a measure of compaction quality and is commonly used during construction projects to ensure specifications for compaction are met.