They're going all sorts of places with these country codes. If you're based in Russia, you might have a website that dates from the Gorbachev era, and it might end with '.su' ('Soviet Union'). Or it might have come along later and been '.ru'. Or it could be newer than that and have a country code of '.рф', the brand-new Cyrillic country code for Russia. Or rather 'top-level domains', as people in the know call them.
Every country gets one - and many places that aren't really technically countries. Many barely use their TDLs at all, and a handful of them have been lucky enough to have a country name that could be shortened to a commercially-viable two-letter combination, with the result that a domain name designed to represent a country winds up being used for any of a variety of reasons - few having to do with the country in question.