It's a respectful greeting used in various contexts, similar to "hello" or "good morning/afternoon/evening" in English.