\left and \right are used for delimiters when they have to change the size dynamically depending on the content. Consider the following.
abeceda.info › questions › what-does-right-do.
It produces an "invisible" delimiter that is used to match a corresponding \left. You can use it when you need a delimiter only on one side of the.