Hanuman assumed Panchamukhi or five-faced variety to destroy Ahiravana, a powerful rakshasa black-magician and practitioner from the dark arts through the Ramayana war. Ahiravana, brother of Ravana, experienced taken Lord Rama and Lakshmana to netherworld as captive, and the sole way to destroy him was to extinguish five lamps burning https://www.youtube.com/@Mahavidyabaglamukhi