What does the term popular sovereignty mean?

AThe government gets its power from a small, elite group of people.
BGovernment is always legitimate, even if the people disagree.
CThe ruler of the nation is popular.
DAll government power comes from the people