Prayer, religion, and science

Any logic behind that? Genuinely interested. Usually it’s an excuse to just trump everything without providing any effort to explain it. Which is where religions tend to fail.