Cephalosporins are β-lactam antibiotics containing a β-lactam ring fused to a thiazine ring. They were first isolated from the fungus Cephalosporium acremonium. Cephalosporins work by inhibiting bacterial cell wall synthesis through binding to transpeptidase enzymes. They are classified into generations based on their spectrum of activity, with later generations more active against gram-negative bacteria. Common side effects include diarrhea, hypersensitivity reactions, and nephrotoxicity.