A licensing agreement is a legal contract between two parties, where the licensor grants the licensee the rights to use certain intellectual property (IP) such as trademarks, copyrights, patents, or technology. The agreement defines the scope, duration, and financial terms under which the licensee can use the licensor's IP.