In simple terms, an explanatory variable is something that helps explain why something happened. For example, if you want to know why someone scored well on a test, you could look at what kind of preparation they did and how hard they studied. So in this case, the explanatory variable would be 'preparation' and 'study time.'