Negotiation is a dialogue between two or more people or parties, intended to reach an understanding, resolve point of difference, or gain advantage in outcome of dialogue, to produce an agreement upon courses of action, to bargain for individual or collective advantage, to craft outcomes to satisfy various interests of two or more people/parties involved in a negotiation. Negotiation is a process where one party involved in negotiating attempts to gain an advantage, not only for their own party, but also for at least one other involved party, by the end of the process. Its aim is distinct from that of compromise, in which more than one party suffers a net loss of goals or resources. Instead, basic negotiation is aimed toward efficiency in either resource distribution, goal and resource integration, or most commonly, both. Negotiation occurs in business, non-profit organizations, government branches, legal proceedings, among nations and in personal situations such as marriage, divorce, parenting, and everyday life. The study of the subject is called negotiation theory. Professional negotiators are often specialized, such as union negotiators, leverage buyout negotiators, peace negotiators, hostage negotiators, or may work under other titles, such as diplomats, legislators or brokers.