Complex sentence: The Mangaladevi temple from which the city inherited it's name being the ancient is yet another temple which attracts devotees from all over India during Navaratri.
Split into simpler sentences: The Mangaladevi temple from which the city inherited its name. It is yet another temple which attracts devotees from all over India during Navaratri.