Step 1: Understanding the Concept:
Partnership arises from a contract, not from status (like a Hindu Undivided Family).
This contract is known as the Partnership Deed.
Step 2: Detailed Explanation:
The relationship between partners is governed by an agreement.
This agreement does not necessarily have to be in writing (though it is recommended).
1. Express Agreement: Written or spoken words.
2. Implied Agreement: Inferred from the conduct of the parties and the circumstances of the case.
If there is no written contract, the provisions of the Indian Partnership Act, 1932 apply, but the "foundation" remains the agreement (consent) between the partners to form a business relationship enforceable by law.
Step 3: Final Answer:
The legal foundation is an agreement (express or implied) that is enforceable by law.