The primary goal of the patent law is to encourage innovation and commercialization of technological advances. Patent law incentivizes inventors to publicly disclose their inventions in exchange for certain exclusive rights. A patent protects inventions. These inventions can include new and useful processes, machines, manufactures, compositions of matter as well as improvements to these. Certain computer programs may fall within the subject matter protected by both patents and copyrights.
In this respect the patent system compliments copyright protection by providing protection for functional aspects of the software, which are not protected by copyright.