Cephalexin, a cephalosporin antibiotic, treats various bacterial infections by inhibiting cell wall synthesis, leading to cell death. Effective against skin, respiratory, urinary tract, and bone infections, it targets gram-positive bacteria like Staphylococcus and Streptococcus. Cephalexin is usually administered orally and is known for its safety and efficacy.