A building is a structure that people live or work in, or that is erected to protect articles or livestock, or for religious, ceremonial or social purposes.