You say 'Goodnight' to someone late in the evening before one of you goes home or goes to sleep.
PHRASE
(晚上分别或睡觉前)道晚安/吻别道晚安
If you say goodnight to someone or kiss them goodnight, you say something such as 'Goodnight' to them or kiss them before one of you goes home or goes to sleep.