When the soul leaving the body ascends to heaven then the relatives of the soul consign the dead body to flames, that is known as *Anteshti*. It is written in *Athervaveda (18/2/56)* about Antesti -
*Imau yunijmi te vahni asunitaay vodhave
Tabhyaam yamasya saadanam samitishchaava gachhataat.*
It means, hey soul! I consign your dead body into the union of these two fires for your emancipation. With these two fires you may get emancipated to *Sarvaniyantaa* Yama deity.