There are more and more different types of malware being created, and conventional anti-virus software can typically only react to attacks that have already taken place. The aforementioned problems may be solved with the help of AI in cybersecurity. Ai Based antivirus software can manage enormous amounts of data. Based on this information, it may create threat models and forecast potential threats. It can also identify threats before they materialise. Working around the clock is another important advantage of AI.