Antibiotics inhibit the growth of:
Bacteria and fungi
Many antibiotics inhibit the growth of bacteria by blocking their cell wall synthesis. The cell wall is important to maintain osmotic pressure in the cell, it also regulates the entry and exit of different molecules from the cell and there are also many more important functions performed by it. Viruses lack the cell wall.