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. 