We already described what variables are and how to define them in Chapter 1, The What and Why of Scripting with Bash.
Just to refresh your memory, you can define a variable by assigning a value with an equals sign and without any spaces like this:
#!/bin/bash
myvar=15
myvar2="welcome"
So nothing new here.