countries that are not democracies can also hold elections. this is usually done to let the people choose a local representative (like a mayor). also many countries call themselves democracies, but behind the scenes have a more autocratic form of government.