In Metal Gear Solid 4, the Patriots are essentially a vast computer program—an AI system originally run from a satellite and created by Major Zero.
Their purpose was to control the flow of information across the world. But over time the system went haywire and made a chilling decision: to base the entire global economy on endless war.
That single, catastrophic shift is what sets the events of MGS4 into motion.