What's the function of "wife beater" undershirts?

They are also a bit longer and form fitting than regular tshirts and so better for tucking in under a dress shirt.

Plus, they have a sort of ‘macho mystique’ to them.