A variable is a bunch of addresses in the RAM, changing the value is changing the value of whatever is stored in the bunch of addresses. Generating a variable is saving RAM storage for that variable, then your code can put information in those storage spaces in RAM.