A centrifuge is a machine that uses rotational motion to separate substances of different densities. By spinning containers at high speeds, the centrifugal force pushes denser materials outward and lighter materials inward. This principle is widely used in laboratories to separate blood components, isolate DNA, or clarify liquids. The key is the whirling motion that creates separation.