Often this involves "if... then..." logic and can be used to make predictions that can be tested in a process called the scientific method.