Anti-infectives is a general term used to describe any medicine that is capable of inhibiting the spread of an infectious…