The function of an embassy is to represent a country in a foreign territory. The person with the greatest authority within it is the ambassador, who must ensure that the countries maintain a good relationship. You have all the information in: «What is the difference between consulate, embassy and chancery?«.

You have all the information in: "What is the difference between consulate, embassy and chancery?".