The operating system is the most important program that runs a computer and acts as its "brain". It allows other programs to run and manages the computer's hardware and software. In contrast, a computer virus is a malicious program that can delete or corrupt data and interfere with normal operation. Some signs of a virus infection include a computer running slowly, freezing frequently, or restarting unexpectedly. Users can prevent viruses by using antivirus software, backing up files, avoiding suspicious email attachments, and only downloading from trusted sources.