Science could also be compared with mathematics, since mathematics is also an area of knowledge. Mathematics is essential to the sciences. One important function of mathematics in science is the role it plays in the expression of scientific models. Observing and collecting measurements, as well as hypothesizing and predicting, often require extensive use of mathematics. Arithmetic, algebra, geometry, trigonometry and calculus, for example, are all essential to physics.
Moreover, science could be compared to ethics/religion. As stated before, science is the process of searching or seeking the truth on the basis of facts. If ethics is good vs. bad, right vs. wrong and true vs. false, then it must encompass the facts and evidences which is the only path leading to the truth. Whenever, whatever science claimed something it is based on facts. Unlike science, religion is fact less, illogical, irrational and orthodox. Religious view is just imaginary or hypothetical with no logical base where as science is theory. Unlike hypothesis, theory is one which has been tested, verified, proved and experimented.
There are three basic assumptions of science. First of all, the world is real. Secondly, reality is objective and thirdly, the world is comprehensive. Religious view is just opposite to science view. Unlike science, religious views are that first of all, the world is virtual. It's not real, it's just the delusion. Secondly, objective is not real. Objects are just the illusion of our eyes, and thirdly, the world is too mysterious that our mind and technology cannot explore anything or know nothing about the world. Keeping out of reality and facts, religion has become the main source of superstition. Priests and religious leaders have become the peddlers of superstition. Science helps us to get rid of superstition. For example, leprosy was taken as the sin of the past life, but science proved it as a disease caused by the bacteria which can be treated by the regular use of medicine. Therefore, science helps us find our way through false-facts and beliefs, and head to the truth. So science is ethical.
Closing, knowledge isn’t really a predetermined thing and/or feature that you are born with. You gain knowledge as you grow older, and science helps in reaching a result in any hypothesis you make and therefore can help you expand your knowledge even further.