A nightgown, nightdress or nightie, is something you wear to sleep in. Only girls and women wear nighties.
Pajamas, also spelt pyjamas or just PJ's are clothes that you wear at night when you sleep. Pajamas can be worn by girls, boys, men or women, but nightgowns are only worn by girls and women. The lady in the picture is outside in her pajamas.