They are chosen by elections. They usually have political backgrounds or experiences. The voters (over the age limit, usually 18, and citizens of the country) will decide on the canadiates. It is very similar to electing a president, but in the United Kingdom, there are also royalties. The royalties have little to none power in the government today, just pretty figureheads.