We make educated guesses at what the gaps in science might be. Eventually the technology catches up and we check to see if the educated guesses, based on prior data, match the actual answers.
Da Vinci figured out how an aeroplane would work, but didn’t have the technology to build one. Many years later & his scientific extrapolation was proved right.
Religion, on the other hand, has never been proven right. All the things that were once associated with Godly miracles, have slowly but surely been proved to have scientific basis and nothing miraculous at all.