Disinfectants work by disrupting the cellular structures or metabolic functions of microorganisms. Different classes of disinfectants have varied mechanisms of action. For example, alcohols denature proteins, phenolics disrupt cell membranes, and halogens like chlorine inactivate essential enzymes. Understanding these mechanisms helps in selecting the appropriate disinfectant for a specific pathogen or application.