There are four main entries, and each closes differently.
The original: Snake and Otacon escape aboard Metal Gear Rex.
MGS2: Raiden defeats Solidus, who claims to be Big Boss.
MGS3: Snake defeats The Boss, his mentor and, in the game's framing, his mother figure.
MGS4: Old Snake destroys the GW AI and brings the war to an end.
Minor spoiler warning aside, the series is deliberately tangled, and a lot of the meaning only becomes clear across the whole arc.