A legal document that defines how a piece of software may be used, and what the implications are for using it. Licenses may define rules around contributing code, monetization for projects that rely on it, and more.