Software vendors use licenses to protect their intellectual property and ensure that their products are used legally. A license key is a unique code that activates a software product, allowing users to access its full features.