Cefazolin is a first-generation cephalosporin antibiotic commonly used in the field of gynecology. It is effective against a broad range of Gram-positive bacteria and some Gram-negative bacteria. Cefazolin works by inhibiting bacterial cell wall synthesis, leading to cell lysis and death.