They took over from the night shift (7)
I believe the answer is:
pyjamas
'night shift' is the definition.
The answer and definition can be both man-made objects as well as being singular nouns.
I also know that 'night' relates to this answer.
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for pyjamas that I've seen before include "Pays jam poorly to wear them" , "Night attire" , "Bed clothes" , "Sleeping attire" , "Nightwear" .)