It's a formal and polite way to greet someone in Japanese, used for both acquaintances and superiors.