What is the meaning of はい?

yes; okay; understood, got it; here, present; right, so ; uh-huh

no ; agree

sorry? (What did you say?)

general shout or call, compare English hey: go, start; stop, time's up (expressing a timing)

used to express mild uncertainty

hello

Source: wiktionary.org