Understanding Agreements Under Contract Law: A Comprehensive Analysis