A patent is a government-granted property right that can be used to exclude others from making, using or selling an invention for a specified time (how long depends on the type of patent).