The union of any number of open sets must be open , and the union of a finite number of closed sets must be closed . The sets in ' are called the open sets , and their complements in X are called closed sets . A subset of X may be neither closed nor open , either closed or open , or both .