It’s an exclamation meaning “wow” or “Are you kidding?” Like if someone says “Hey did you hear Joe robbed a bank and got arrested?” you would say “word”? Or it can mean you emphasize something “AOC is stupid” and someone else says “word” to emphasize it.
Don’t ask me how these things get started, I have no idea lol
Word.