This is most likely a nightgown, but it could also be worn as a slip ...

Responsive image
source