The process of drafting, filing and negotiating with a Patent office in order to obtain patent protection and rights for an invention is known as Patent prosecution. It involves reasoning for the patentability of your invention based on technical and legal grounds specified by USPTO under 35 US Code. This starts with filing an application at the patent office of a country where you wish to hold the protection for your invention.