Zoning regulates and restricts the use, size, height and density of buildings and other structures; the percentage of lots that may be occupied; the size of the yards, courts and other open spaces; the density of population; and the location and use of the buildings, structures, and land for trade, industry, residences, and other purposes.