An independent variable is the factor that we intentionally change or manipulate to see its effect on the outcome. For example, if you want to know how different types of music affect your mood, the type of music would be the independent variable. You can choose to listen to classical, rock, or pop music, and see how each one makes you feel.
Now, let's talk about dependent variables. These are the factors that we measure or observe in response to the independent variable. Using the music example, your mood would be the dependent variable. You might feel happy, relaxed, or energetic depending on the type of music you listen to.