Zoning divides land into districts, and each district type sets what can be built there. The main types are residential, commercial, industrial and agricultural, and most cities split each one into smaller districts with their own codes.
District names and rules vary by city and county, so use these guides to learn the basics, then check the local code. You can search for your city's zoning map to see how a specific property is zoned.