yes.
Used to express acknowledgment of what was previously said.
Expressing joy, celebration, glee, etc.
yes ma’am (also used, somewhat less commonly, when speaking to a man)