What does chavo or chava mean in spanish?

It is a slang term used mostly in Mexico meaning "dude" chavo- for a boy, chava- for a girl