This family-related use refers to someone's male children regardless of their current age.
Their boys are both at university.
She raised three boys.
This informal meaning refers to a familiar group of male friends, colleagues, or teammates.
He went camping with the boys.
The boys from work organized a football match.