“Mec” is similar to “guy” in English. The only difference is that, in French, we don’t generally apply the term to females as you sometimes do in English.
Les mecs sont tous les mêmes! (Guys are all the same!)
Salut les mecs! (Hi guys!)
It can also be used to designate your boyfriend:
Mon mec est avocat. (My boyfriend is a lawyer.)
Le mec de Sophie est canon! (Sophie’s boyfriend is pretty!)