A centrifuge is a device that uses centrifugal force to separate components of a mixture based on their density. By spinning samples at high speeds, the denser particles move outward to the periphery, while the less dense components remain closer to the center.