What does a foreign service officer do?

A foreign service officer represents their country abroad by managing diplomatic relations, promoting interests, and supporting citizens overseas.