Does woman care to impress or attract men?

For example, when women show off their body parts publicly at the gym, why do they do it?