How can a MMO be a whole mmo, but have different expansions that let people play in more places and more levels?

it sounds kinda complex to me. what if someone signs up for a MMO, then a expansion comes? does his current version gets upgraded, or does he have to get the expansion?

it almost sounds like the player is playing a single player RPG with sequels, but has online game play. is that possible?