The United Kingdom has a parliamentary democracy where the Queen is the head of state and elections take place every five years. Political parties nominate candidates to represent constituencies in the House of Commons. Whichever party wins a majority forms the government, while the second largest becomes the opposition. New laws are debated in both the House of Commons and House of Lords before being signed by the Queen. The prime minister leads the governing party and appoints ministers to the cabinet.