5.47 Why these strange escape sequences from ls from the Shell mode?

In many systems, ls is aliased to ‘ls --color’, which prints using ANSI color escape sequences. Emacs includes the ansi-color package, which lets Shell mode recognize these escape sequences. It is enabled by default.