Cephalexin capsules are a type of antibiotic used to treat a wide range of bacterial infections, including those affecting the skin, throat, respiratory tract, urinary tract, and bones. Belonging to the cephalosporin class, cephalexin works by interfering with the bacteria's cell wall formation, ultimately leading to its destruction. It is typically taken by mouth every 6 to 12 hours, depending on the severity and type of infection. Cephalexin is not effective against viral infections like the flu or common cold. Proper adherence to the prescribed course is important to ensure complete eradication of the bacteria and to help prevent antibiotic resistance.