Education as an institution of formation of consciousness and thinking (phenomenological approach)