Yes, diplomats live in an embassy. An ambassador is a government’s highest rank diplomat. They provide intermediary solutions between their home country and the host country. Most of the discussions including sensitive topics like war, trade, etc are held in an embassy. One of the most important duties of a diplomat is to maintain peace between both countries and avoid any kind of war between them.