Cephalexin is used in both dogs and cats to treat a variety of bacterial infections, including skin infections, wound infections, bone infections, pneumonia, and bladder infections. Cephalexin is similar to the veterinary drug cefadroxil, and veterinarians often use the two drugs interchangeably.