To get a patent, the inventor must ask the government by describing the invention in writing. This is called a patent application. The inventor can write the patent application, but it is usually written by a person trained to write patent applications. This person is called a patent agent or, if the person is a lawyer, a patent attorney.