A construction worker with a hard hat is hammering a nail in.
A person in a hat hammers a nail.