That's because of the operating system which is Unix based, I could install linux too, or Windows 10 which is awesome!
That's not because of the parts/hardware, because the parts in the iMac are the same parts, same Intel or AMD parts as the PC.
You have just proven me that you really know nothing and you should just stop arguing with me, I'm a programmer in the army in an elite computing unit, I know what i'm talking about.
Mac won't be able to run all the games available, it will support MUCH less programs, and it's ridiculously expensive for no reason.
the i5 CPU apple uses, costs only
230$, and it's the same CPU as used for any PC.
I have my own 32GB RAM, i7 overclocked to 4.4GHz with water cooling, bought it for MUCH less than the iMac and I have it since 2012, works perfect.
Also, I love doing whatever i want with my PC or phone, I can decide to install a new OS or do whatever with it. It's mine. you're not in Apple's jail.