This is the scientific method.
What is Science?
Science is an intellectual activity carried on by humans that is designed to discover information about the natural world in which humans live and to discover the ways in which this information can be organised into meaningful patterns. A primary aim of science is to collect facts (data). An ultimate purpose of science is to discern the order that exists between and amongst the various facts.