Variables are something whose value we can modify according to requirements. It is basically a memory location.
Constants have their fixed value that can't be changed.
example:
expression: a+b/2
Here, a and b are variables and 2 is the constant having a fixed value.