Ateshgah of Baku was built in the 17th and 18th century. The historical roots of the building are connected with the period of Zoroastrism. Ateshgah of Baku was built by worshippers of fire who considered this place as sacred. The surroundings of the temple is famous for the unique natural phenomenon - the burning fire which is bursting directly from the ground. In the past Dervish monks (the fire worshippers) thought that this fire had mystical spiritual energy. This mystery has a logical explanation nowadays. The fire is burning due to the natural gas which flows out of the two holes in the ground at the site of the temple. The church complex was remodelled into the museum.