Density gradient centrifugation is a laboratory technique used to separate biological molecules or cells based on their density by spinning samples in a centrifuge. This process creates a gradient where denser components migrate to the bottom, while less dense components remain higher up, allowing for the isolation of specific substances like DNA during purification processes.