What's the difference? Can someone please explain?
好 (hao) literally means good. The phrase 你好 (ni hao) literally means "you good," but is the equivalent of "hello."
... and by extension, 好 is frequently used for signaling agreement. Think of it as fine, okay, sure.