Density gradient centrifugation involves creating a density gradient by layering solutions of different densities in a centrifuge tube. When the sample is centrifuged, particles migrate through the gradient until they reach a position where their density matches the density of the surrounding medium, allowing for separation based on density.