Probably another way of thinking about it is that one most commercial aircraft, there are a LOT of parts and pieces. They've all got to be operative for the aircraft to be airworthy.
So if the lavatory lights are inoperative, your plane is grounded until their fixed.
Both the FAA, manufacturer and the operator can agree on a list of items which don't significantly affect the airworthiness of the aircraft, which can be inoperative. So when your lavatory lights go out, you have so many days to fix it. Or your tire is showing a small amound of chord, you can do so many more landings until it's repaired/replaced.
So if the lavatory lights are inoperative, your plane is grounded until their fixed.
Both the FAA, manufacturer and the operator can agree on a list of items which don't significantly affect the airworthiness of the aircraft, which can be inoperative. So when your lavatory lights go out, you have so many days to fix it. Or your tire is showing a small amound of chord, you can do so many more landings until it's repaired/replaced.