Antivirals are a class of small molecules that function as inhibitors of one or more stages of a virus life cycle.