A patent is a form of intellectual property that provides the inventor with exclusive rights to their invention for a certain period, typically 20 years. This legal protection prevents others from making, using, or selling the invention without permission.