Tenjin is a kami in Shinto. In his mortal life he was Sugawara no Michizane and after his death he became a kami. People pray to him for help in school.