Confucianism is a belief in the teachings of Confucius, who lived in ancient China from 551 to 479 BC. His teachings were based on a moral code for human relations with emphasis on the importance of tradition and rites. He was one of the most eminent thinkers of the time, a great sage and educator whose philosophy has deeply influenced the political, economic and social systems of China through the ages. He has also been hailed as an exemplary mentor for all ages. The major festival of Confucianism is the birthday of Confucius, which falls on the 27th day of the eighth moon.