Before the Industrial Revolution, most societies were divided into estates. Your ancestry would usually decide your estate.
During the industrial revolution, this changes to a class system. Your class is based on your income. How wealthier, how higher the class.