Following is the example, while printing value of the variable its substitued by its value.
Same time "\n" is substituted by a new line -
#!/bin/sh
a=10
echo -e "Value of a is $a \n"
This would produce following result. Here -e option enables interpretation of backslash escapes.
Value of a is 10
Here is the result without -e option: