functions of educational institutions in sociology