A consulate is a diplomatic mission of a country to another foreign city; it may be located in a tourist city or one with a large expat population. Consulates handle minor diplomatic issues.
The chief diplomat of a consulate is a Consul-General; their office is the Consulate-General.
See also: embassy