Chief Justice of India Justice N V Ramana on Saturday stressed on developing a model of education that teaches students how to face real-life challenges and lamented that institutions (of higher learning) were losing their social relevance with the 'mushrooming of factories of education.'