From my perspective, religion was created by humankind to answer questions about where we came from and where we are going.
Evolution can only theorize about where we came from if you leave religion out of it.
Both live in the minds of humankind.
Please look up the scientific definition of 'theory'. Some other scientific theories include, gravity, electromagnetism, chemistry, thermodynamics, atomic physics, etcetera.
That being said, have you noticed that science has led consistently in one direction, while religion has given us many, many One True Religions®?
If you could reset human history and replay it, science would lead us back to the same fields of knowledge. We'd perhaps have different metrics and names, but it would all convert to work with what we have now. We'd still have a theory of electromagnetism - we'd still understand chemical reactions.
But you wouldn't get Christianity again, nor Islam, Hinduism, Judaism, Zoroastrianism, Wicca, Scientology, Druidry, Packers fans or people with Apple logos on their car windows.