Variable plays an important role in computer programming. Every programming language are using variable to store temporary data and holds it until it is freed.
By using a variable, you can use it one or more times even up to millionth times if it is necessary.
Consider if you want to display the following string a millionth times:
"The quick brown fox jumps over the lazy dog."
You would need to type it 44 times over and over again to print the same result. But if you store it in a variable, all you need to do is call that variable and display the same result. Sound good, right?