Antibiotics do not work on viruses because viruses are not alive. A bacterium is a living, reproducing lifeform. A virus is just a piece of DNA (or RNA). A virus injects its DNA into a living cell and has that cell reproduce more of the viral DNA. With a virus there is nothing to "kill," so antibiotics don't work on it.