Two men climbing on a wooden scaffold.
Two people climbing on a wooden scaffold.
Two men are two people.
men are people, therefore 'people' has been used synonymously for 'men'
Two men can also be known as two people.