Refers to working during the night, often in contexts like hospitals, security, or factories.
I've been on night duty all this week.
There are few nurses on the night shift.
Compound of 夜 (night) and 直 (direct, duty). The exact historical derivation is uncertain, but it is a straightforward combination for 'night duty'.