The imperial examination was a civil service examination system in Imperial China that aimed to select the best candidates for bureaucratic positions based on merit rather than aristocratic privilege. This system significantly shaped Chinese culture and society by promoting Confucian ideals, fostering a scholarly elite, and creating a meritocratic bureaucracy that influenced governance for centuries.