A contract is a legally binding document that recognizes and governs the rights and duties of the parties to the agreement. A contract is legally enforceable because it meets the requirements and approval of the law. A contract typically involves the exchange of goods, service, money, or promise of any of those.
Legal advice is the giving of a professional or formal opinion regarding the substance or procedure of the law in relation to a particular factual situation. The provision of legal advice will often involve analyzing a set of facts and advising a person to take a specific course of action based on the applicable law.