Within the context of building construction and building codes, occupancy is the use of a building for the shelter or support of persons, animals or property. A closely related meaning is the number of units in such a building that are rented, leased, or otherwise in use. Lack of occupancy, in this sense, is known as vacancy.