It's considered a more informal way of saying "Hello" and is often used among friends, family, or people you know well.