A woman wearing a hat leans over to a man who has a tattoo.
A person wearing a hat leans over to a man who has a tattoo.
A woman is a person, so "a person wearing a hat" is a rephrasing of "a woman wearing a hat."
(-x)
(-x)