A licensing agreement is a legal contract between two parties, the licensor and the licensee. In this, the licensor grants the licensee the right to produce and sell goods, apply a brand name or trademark, or use patented technology owned by the licensor.