A tentative explanation or prediction that can be tested
Theory
A well-supported framework that explains many phenomena together
Law
A description of a regularity in nature, often written as an equation
Common myth
A theory becomes a law once proven; in fact they do different jobs
Mark of a good hypothesis
If it is wrong, it must be possible to show it is wrong (falsifiability)
Everyday words versus scientific terms
In everyday speech, saying it's just a theory means it is an unconfirmed guess. In science, though, a theory refers to the most thoroughly tested kind of explanation. The theory in evolutionary theory or the theory of relativity means an explanation backed by vast numbers of observations and experiments, not a hunch. Without knowing this difference, it is easy to misread science news. Let us start by separating what each of the three words does in science.
Hypothesis: a guess you can test
A hypothesis is a tentative answer put forward to explain or predict a phenomenon. Like this fertilizer will increase the bean harvest, it must be something experiments or observations can show to be right or wrong. Hypotheses may come from observations or be derived from existing theory. If the results match the prediction the hypothesis gains support; if not, it is revised or discarded. A single experiment never proves a hypothesis once and for all; it takes many independent confirmations.
Theory: an evidence-built framework
A theory is a broad framework that ties together hypotheses, facts and laws to explain why things happen. Hypotheses that survive testing interlock to form a theory. A good theory not only explains known phenomena but predicts things not yet observed. Einstein's general theory of relativity predicted how much starlight would bend near the Sun, which was confirmed during the 1919 solar eclipse. Plate tectonics, cell theory and atomic theory are all theories in this sense.
Law: describing a recurring pattern
A law is a concise description of a relationship that recurs in nature in the same way, often expressed as an equation. Like Newton's laws of motion or Boyle's law, it tells you what happens and how. Laws hold precisely within certain conditions, but often do not explain why. Newton's law of universal gravitation, for example, lets you calculate the force between two bodies, but why gravity arises was later explained in a new way by general relativity.
Theories are not promoted to laws
A common misconception is that a confirmed hypothesis becomes a theory, and a sufficiently proven theory becomes a law. In reality laws and theories are not ranks but different jobs. Laws describe regularities; theories explain why those regularities occur. A single theory can contain several laws, and laws are sometimes discovered before the theory that explains them. That is why, however much evidence piles up, evolutionary theory is never renamed the law of evolution.
What makes a good hypothesis
A scientific hypothesis must be stated so that, if it is wrong, that can be shown. Philosopher Karl Popper called this falsifiability and proposed it as the line between science and non-science. A claim like this medicine will work for someone someday fits any outcome and cannot be tested. A good hypothesis also makes specific predictions, is simpler than rival explanations of the same phenomenon, and fits with well-established knowledge. The simplicity that Occam's razor talks about plays a part in such judgments.
Do scientific theories change?
Scientific theories can be revised or absorbed into broader theories when new evidence appears. Still, it is rare for a well-established theory to be thrown out wholesale overnight. Even after relativity, Newtonian mechanics remains a highly accurate approximation at everyday speeds far below that of light. That theories can change is not a weakness but a strength: science corrects itself in line with evidence. So when reading science news, it matters more whether many studies point the same way than what one study says.