Un sustantivo masculino es un sustantivo que sigue a un artículo masculino y que es modifcado por adjetivos masculinos (p.ej. el hombre guapo, el sol amarillo).
Resultó que los niños tenían habitantes. Por eso se rascaban la cabeza.It turned out the children had lice. That's why they were scratching their heads.