Sentiment analysis AKA opinion mining is one of the most widely used NLP applications to identify human intentions from their reviews. In the education sector, opinion mining is used to listen to student opinions and enhance their learning-teaching practices pedagogically. With advancements in sentiment annotation techniques and AI methodologies, student comments can be labelled with their sentiment orientation without much human intervention. In this review article, 1) we consider the role of emotional analysis in education from four levels: document level, sentence level, entity level, and aspect level, 2)sentiment annotation techniques including lexicon-based and corpus-based approaches for unsupervised annotations are explored, 3)the role of AI in sentiment analysis with methodologies like machine learning,