An embassy is located right in the heart of the capital city of the receiving state, and it is headed by an ambassador, and houses the offices where representatives work. The reason why embassies are located in the capital city is to make them easily accessible to their citizens in case of an emergency, such as during a war. All the main diplomatic talks between two countries are held in embassies especially when the discussions involve sensitive matters like wars and trade.
Many embassies have a consular section that deals with public administration and other consulate functions. In countries where there is only an embassy and no consulate, the embassy carries out all functions of both. Even though embassies and consulates are located in another country, they are legally considered territory of the country they represent. So the host country does not have jurisdiction inside the embassy of a foreign country.

