What does night cap mean in adult form?

A night cap is an alcoholic drink consumed at night before going to sleep.