The United States Patent and Trademark Office (USPTO) is a federal agency for granting U.S. patents and registering trademarks. It plays a crucial role in promoting technological progress by providing a legal framework to protect intellectual property, thus incentivizing innovation.