A variable is just a simple container that stores whatever you put inside them. In some languages a variable is type based, Other languages are dynamic about this.
Related to this topic
LET, CONST, VAR why? Variable definitions the easy way!