A diplomatic mission or foreign mission is a group of people from one state or an organisation present in another state to represent the sending state/organisation officially in the receiving state. In practice, the phrase diplomatic mission usually denotes the resident mission, namely the embassy, which is the main office of a country’s diplomatic representatives to another country; this is usually, but not necessarily, in the receiving state’s capital city.
Consulates, on the other hand, are smaller diplomatic missions which are normally located in major cities of the receiving state (but can be located in the capital, usually when the sending country has no embassy in the receiving state). As well as being a diplomatic mission to the country in which it is situated, it may also be a non-resident permanent mission to one or more other countries.
There are thus resident and non-resident embassies.