Anti-infectives are capable of preventing or countering any kind of infection(s). Whereas, antibiotics are the drugs that are used against bacterial infections.
The anti-infectives (fight infection) include antibacterials, antivirals and antifungals, while antibiotics are drugs used to treat bacterial infections.
Anti-infectives are agents which are capable of inhibiting the spread of infectious organisms by killing them outright. It includes antibiotics, antifungals, anthelmintics, antimalarials, antiprotozoals, antituberculosis agents, and antivirals. Antibiotics on the other hand side are anti-microbial products of microbial origin.