Students informed the teachers and Anuksha was rushed to a Bengaluru hospital in a government ambulance.
She had suffered 70% burns and died in the hospital on Wednesday morning.
Manchenahalli police said a case was registered and investigation had begun.
Anuksha was the daughter of construction labourers and a student of Class 1 at Darinayakana Palya government primary school near Gowribidanuru, 60km from Bengaluru.
The child’s parents, Ashwathappa and Venkatamma, accused the school teachers of negligence and demanded that police take strict action against them.
School head master K Krishnappa said, "The incident was very unfortunate and an accident. We are extremely sorry about this."