Ok, so a hypothesis is an educated guess. When conducting an experiment, scientists test their hypothesis. And if their hypothesis is correct, it becomes a theory.
When a scientist makes a hypothesis before an experiment, that is an educated guess. They don't instantly know the answer or conclusion to the experiment, but if their hypothesis is correct, it can become their theory.