Another way to say "dressing nice is for going out" is "Some people, while going out, will dress formally or pleasantly attractive."