Yes is defined as an affirmative answer that indicates acceptance, or delight, or it can be used to attract attention or to ask a question.(interjection)
See yes in Webster's New World College Dictionary
Origin: ME < OE gese, yes, prob. < gea, yea + si, be it so, 3d pers. sing., pres. subj., of beon, to be: see be
noun pl. yeses
See yes in American Heritage Dictionary 4
Origin: Middle English
Origin: , from Old English gēse, so be it!
Origin: : probably gēa, so; see i- in Indo-European roots
Origin: + sīe, may it be so; see es- in Indo-European roots.
Learn more about yes