Sorry, I'm kind of new to programming but something I am having difficulty understanding is parameters. What are they and when are they used? I saw some examples of parameters and I noticed that they are similar to variables. What is the difference between a parameter and a variable? Since I'm a beginner, it would be nice if anyone could explain this in simple terms.

Thanks in advance