Each facility can have multiple departments which can be setup by pressing the button Department. You can use the department functionality to group specific infrastructure or to differ specific kind of services provided. If you click on deactivate then the department will be no longer available for use. Deactivating departments is blocked as long they have a workplaces associated.