An honorific suffix of respect appended to names and titles; alone, a polite 'yes'.
'Yes, sir/madam' — a respectful affirmative reply.