Serum is obtained by allowing the blood to clot and then centrifuging to separate the solid components from the liquid. The blood sample is collected in a tube without anticoagulants, allowing the clotting process to occur naturally. After clotting, the sample is centrifuged, and the serum is carefully extracted from the top layer.