Antibiotics are poisons that act on those parts of bacteria that are different from human/animal cells. They kill the bugs but not you.
Viruses are simply different. They don’t have the same cellular machinery that bacteria do, so antibiotics don’t do anything to them. In fact viruses aren’t cells at all, and by most metrics aren’t really alive.
Latest Answers