A formal agreement between groups which is recognized in law is commonly referred to as a contract. Contracts are essential legal documents that outline the terms and conditions of any agreement between parties. These documents are legally binding, ensuring that both parties fulfill their obligations.

Contracts can be written or oral, but written contracts are more common as they provide clear evidence and reduce the risk of misunderstandings. Written contracts also allow parties to refer to specific terms and conditions when disputes arise.

A contract typically contains the following elements:

1. Offer: One party makes an offer to another party.

2. Acceptance: The other party accepts the offer.

3. Consideration: Both parties agree on something of value for the exchange.

4. Mutual Agreement: Both parties understand and agree on the terms of the contract.

5. Capacity: Both parties involved in the contract have the legal right or capacity to enter into an agreement.

6. Legality: The purpose of the contract must be legal. Contracts that involve illegal activities are not enforceable under law.

There are various types of contracts, including employment contracts, lease agreements, sales contracts, service contracts, and more. Each type of contract has its specific terms and conditions, which must be adhered to for the agreement to be valid.

Contracts are beneficial to both parties as they provide clarity and help prevent disputes. When parties sign a contract, they agree to fulfill their obligations as per the contract`s terms and conditions. If one party fails to meet their obligations, the other party can take legal action against them.

In conclusion, a formal agreement between groups recognized in law is a contract. Contracts are essential legal documents that outline the terms and conditions of any agreement between parties. They provide clarity, reduce the risk of misunderstandings, and help prevent disputes. When signing a contract, both parties must carefully review and understand the terms and conditions to ensure they meet their obligations under the contract.