What is the process involved to patent an invention?

A detailed answer is presented at this link: The Patent Process