The United States Patent and Trademark Office (USPTO) is the federal agency responsible for granting patents and registering trademarks in the United States. It plays a crucial role in the protection and promotion of intellectual property rights, which are essential for innovation, economic growth, and consumer protection.