She is cooking food while wearing a dress.
A woman in a dress prepares a steak.
A woman is not necessarily preparing a steak.
The woman cooking food need not be  necessarily be  preparing a steak
Just because someone is cooking does not mean they are cooking steak.