Why computers are prone to viruses?

Computers run applications and for applications to be useful they need access to important systems that maintain your computer, viruses abuse these permissions and inflict malicious actions on your computer