An antivirus scans the system memory, OS, and systems' files using signature-based detection methods, heuristic detection methods, rootkit detection, and real-time scanning to prevent computers from being infected with malware. The Internet usage has become significantly essential in day-to-day life. With increased usage, it brings along the risk of infecting devices with various kinds of malware, leaving the system unprotected and damaged. These malware have different sources that may or may not be known to users; some of these could be through social media websites, email spams, and websites that have malicious codes. Therefore, to deal with such viruses, antivirus software is used. It detects, prevents, and removes viruses caused by malicious programs.