Penicillin is effective against various bacterial infections, including strep throat, syphilis, gonorrhea, meningitis, and respiratory tract infections like pneumonia.