A residential building is one in which people live. To be considered residential in the state of Virginia the building must contain no more than 4 private living spaces.
A commercial building is used for the purpose of conducting business. This may include a multi-family residential structure as well. Some examples include buildings used for retail, office, warehouse, churches, and apartment complexes.