Cephalosporins, a class of beta-lactam antibiotics first discovered in 1945, are derived from 7-aminocephalosporanic acid and are effective against a variety of gram-positive and gram-negative bacteria. They act by inhibiting cell wall synthesis and can be categorized into four generations based on their spectrum of activity, with the first generation highly active against gram-positive cocci. Resistance to cephalosporins may arise from alterations in target proteins, reduced permeability, or production of beta-lactamases by bacteria.