The government protects the rights of inventors by issuing PATENTS.
Patents are exclusive rights which are issued by the government of the inventor's government. These rights are for a limited time period, during which the inventor gives a detailed public disclosure of his/her invention.