A night shift is either a group of workers who work during the night, or the period in which they work.
A night shift is the period which a group of workers work during the night. It can also refer to the workers themselves.