Panchagni tapasya is a type of meditation in Hinduism. The
meditation is performed with five fires – four fires from wood fuel on all
sides with the fire of the sun above being the fifth one. A devotee who
attempts this kind of meditation has to tolerate an extreme degree of physical
pain to attain deep and pure state of concentration.
Devi Bhagavatam talks about this kind of tapasya.
The person who performs this kind of tapasya tolerates high
level of temperature. Such a person disconnects himself/herself with the body.
Some saints perform such tapasya as part of Samadhi.