system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5:Why is is that my computer can get a virus but my IPhone can't?

I browse the Internet with my phone more than I do with my laptop, and yet it's my laptop that has problems. Why?
gpt
Your iPhone absolutely **can** get a virus. Several strains already exist, and have been out for a number of years.

However, as you would know, Apple imposes a very strict *method* for installing stuff on your iPhone. Unless it is jailbroken, the only way is to go through the official Apple store. These apps get curated by Apple prior to being published, and this is where they usually identify harmful code.

On a normal computer, however, you can download pretty much *anything* from *anywhere* you want. This is **great** news normally, because it gives you so much more freedom and flexibility than Apple gives you; it's particularly great for businesses who have their own private software, and don't want Apple to see or sell it. But it also means - if you're not paying attention - you might accidentally download something you don't mean to. Because it could be coming from any source in the world, there's no gateway for it to be checked first. You're just placing your trust in it.

TL;DR: In terms of technology, your iPhone is *just* as capable of getting a virus as your PC. But Apple creates a 'walled garden' with strict rules, which limits the probability.