"Hey" is a word used to be friendly to others.
"Hey how are you today"
Hey is defined as an expression of greeting similar to "hello," or is a way to attract attention or express annoyance.
“Hey! How are you?”
“Hey! Listen to what I’m saying!”
“Hey, I’m sick of you!”