Antibiotics function through several mechanisms to combat bacterial infections. Key methods include inhibiting protein synthesis by targeting the 30S or 50S ribosomal subunits, employing drugs like tetracyclines, aminoglycosides, and chloramphenicol.