A older man in a hat is playing a accordion on the street while sitting in a chair.
A man is wearing a hat.
A man in a hat implies he is wearing the hat.
Older man is a man and in a hat is rephrasing of wearing a hat.
If the man is in a hat he is wearing a hat.