in a democracy people vote to choose the government