Debate is a process that involves formal discussion on a particular topic. In a debate, opposing arguments are put forward to argue for opposing viewpoints. Debate occurs in public meetings, academic institutions, and legislative assemblies. It is a formal type of discussion, often with a moderator and an audience, in addition to the debate participants. Logical consistency, factual accuracy and some degree of emotional appeal to the audience are elements in debating, where one side often prevails over the other party by presenting a superior "context" or framework of the issue. In a formal debating contest, there are rules for participants to discuss and decide on differences, within a framework defining how they will do it. Debating is carried out in debating chambers and assemblies of various types to discuss matters and to make resolutions about action to be taken, often by voting. Deliberative bodies such as parliaments, legislative assemblies, and meetings of all sorts engage in debates. In particular, in parliamentary democracies a legislature debates and decides on new laws. Formal debates between candidates for elected office, such as the leaders debates, are sometimes held in democracies. Debating is also carried out for educational and recreational purposes, usually associated with educational establishments and debating societies. Informal and forum debate is relatively common, shown by TV shows such as the Australian talk show, Q&A. The outcome of a contest may be decided by audience vote, by judges, or by some combination of the two.