It is unfortunate that in this day and age, it is necessary to explain how science works, and why it is different from other belief systems.
First science is a belief system. The fundamental axiom of science is that an objective reality exists, is independent of the observer, and that by investigation, truths about that reality can be discovered.
What makes it work is that progress in science depends critically on getting it wrong. A couple hundred years ago, people were looking at fire (Fire's Cool), and wondering how it works. Deep thinkers thought deeply about it, and came up with a hypothesis: There was this stuff, phlogiston, that escaped into the air and that was why fire burned, and why stuff that burned mostly disappeared. Good theory.
Then some pesky scientists - who were trying to put numbers to how much phlogiston was in different things - discovered that if you sealed up stuff, so air couldn't get in or out, and burned something, the weight was exactly the same. Hmm. The scientists first concluded that they had captured phlogiston. Great, let's figure ot what it is. Except that burning different things, led to different kinds of phlogiston. The science was a little wrong.
New experiments brought new results. Burning magnesium led to a weight gain, not a loss, so maybe it captured phlogiston. If that were true, then the ash (calx) should burn, right? More phlogiston! Except that it would not. More problems.
To shorten what could be a very long story, in 1774 or thereabouts, two scientists separately and independently came up with a more correct explanation, something to do with oxygen. In 200 years, their explanation has not yet been found to be fundamentally wrong.
Science moves forward by being wrong. A theory is presented, scientists test it's limits, and if there are things that are wrong, they are made better. The process repeats. Every time a mistake is found, every time science is wrong, it gets better. It's like a fine wine, it improves with age. Also, like a fine wine, it is not democratic. The fact that a whole lot of people seem to prefer that Thunder-stuff wine, does not make it a fine wine. The fact that a lot of people disagree with a scientific principle does not make it wrong, just unpopular.
Why is so much science wrong? Well, Homer, that's how it works.