Yes, Windows Defender does scan for viruses and other threats.
The program uses an array of technologies, including machine learning and cloud protection as well as behavioral analysis to detect and remove malicious software such as viruses, worms, Trojans, ransomware, rootkits, and other dangerous threats.
In addition to scanning for malware, Windows Defender also uses engine technologies to monitor the behavior of programs, identify suspicious activity and block potentially dangerous processes before they can cause harm. If a threat is detected, Windows Defender will take action to quarantine, remove, or block it.
Windows Defender also provides real-time protection which gives you up-to-date protection against new threats. It proactively monitors what programs are running and checks them against a list of known malicious threats. Whenever a malicious program is found, it will be stopped and removed.
Finally, Windows Defender helps protect your system from attacks by limiting incoming connections from suspicious sources. It also restricts outbound connections from Internet Explorer and other browsers. This helps ensure that only trusted websites can be accessed and helps protect your system from hackers and other malicious software.
In conclusion, Windows Defender does indeed scan for viruses and other threats, providing a comprehensive level of protection for your PC. With its combination of signature-based malware detection, real-time protection, and behavioral analysis, Windows Defender can help keep your system safe from malicious attacks.