Single and double quotes can normally be used interchangably.
However, double quotes are interpreted while single quotes are taken literally.
This means double quotes can be used to show code like in the example below and single quotes can interpret.

My major is IST. (double)
My major is $mymajor. (single)