yes
"Yes" is one of the most fundamental words in English. It has a small number of closely related uses, but they are all built around the same core idea: agreement, confirmation, or a positive response. It can work as an adverb, an interjection, or even a noun.
This is a special and very useful use of 'yes'. If someone says something negative that you believe is wrong, you use 'yes' to push back and correct them. For example, if someone says 'You didn't call me,' and you did call, you say 'Yes, I did!' It directly contradicts the negative claim.
everyday language · Modern, widely used