Government offices that examine and grant patents, trademarks and designs (USPTO, EPO, CNIPA, JPO, EUIPO and others), run post-grant challenges, and generate a huge, steady stream of prosecution work for patent attorneys and IP law firms.
Patent offices are one player in the legal services industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how patent offices fit into legal services