Cephalosporins are commonly used in pediatrics for the treatment of infections such as otitis media, streptococcal pharyngitis, pneumonia, urinary tract infections, and certain types of skin infections. They are also used in surgical prophylaxis to prevent postoperative infections.