Buildings provide shelter and are composed of various structural components like slabs, beams, and columns. Buildings can be classified based on occupancy, fire resistance, height, load transfer method, and materials. Common building types include residential, assembly, business, office, educational, institutional, industrial, mercantile, storage, and hazardous buildings which are used for various functions.