Viruses produce a variety of illnesses, which may also cause acute respiratory syndrome. All viral infections, including COVID‐19, are associated with the strength of the immune system. Till now, traditional medicine or vaccines for most viral diseases have not been effective. Antiviral and immune‐boosting diets may provide defense against viral diseases by lowering the risk of infection and assisting rapid recovery. The purpose of this review was to gather, analyze, and present data based on scientific evidence in order to provide an overview of the mechanistic insights of antiviral bioactive metabolites. We have covered a wide range of food with antiviral properties in this review, along with their potential mechanism of action against viral infections. Additionally, the opportunities and challenges of using antiviral food have been critically reviewed. Bioactive plant compounds, not only help in maintaining the body's normal physiological mechanism and good health but are also essential for improving the body's immunity and therefore can be effective against viral diseases. These agents fight viral diseases either by incorporating the body's defense mechanism or by enhancing the cell's immune system. Regular intake of antiviral foods may prevent future pandemic and consumption of these antiviral agents with traditional medicine may reduce the severity of viral diseases. Therefore, the synergistic effect of antiviral foods and medication needs to be investigated.