Nucleic acid synthesis inhibitors are a class of antibacterial drugs that work by interfering with the synthesis of DNA or RNA in bacterial cells, thereby preventing their replication and growth. These drugs target specific enzymes or processes involved in the production of nucleic acids, which are essential for the survival and proliferation of bacteria.