To elaborate just a bit on the previous answer, these examinations gave those individuals within lower social classes the opportunity to move up and advance in the system, as most of the time their position was based on the family which came before them.