There are a lot of countries which don't have democracies, let's name some other types of ruling, and examples:
- absolute monarchy (Brunei, Saudi Arabia)
- constitutional monarchy where the monarch also has power (so not UK): (Bahrain, Lichtenstein)
-Republics, which nontheless have constitutionally given power to one party: (Vietnam , North Korea)
- finally, some countries that officially are democratic, but in practice are ruled by a small number of people who are not chosen in real election (Belarus)