She is cooking food while wearing a dress.
A woman in a dress cooks food.
A woman in a dress cooks food is another way to say she is cooking food while wearing a dress.
She is the pronoun to use for a woman.  A women wearing a dress is in a dress.
she is cooking a food when she wearing a dress