Strings can contain most of the characters but some characters can’t be
written as it is. Hence, when a string is enclosed in double-quotes “ then escape sequences for special characters get interpret by PHP.

(Related Tutorials)