A clearing agent is a substance used in the histological preparation of tissue samples. Its primary function is to remove alcohol from the tissue, making it transparent or "cleared," and thus better suited for embedding in paraffin wax. This step is crucial for subsequent sectioning and microscopic examination.