The function of the institution of education

What is the function of the institution of education? What evidence exists that education is not functioning equally for different categoric units?