The year is $year (single quote)The year is 2023 (double quote
Looking at my examples above, the value I set $year = 2023. Single quotes '' are taken literally. That is why my first line of text ends in $year. Double quotes "" are interpreted leading to my second line of text ending in 2023.