Optional Binding concept is used to find out whether an optional contains a value, and it makes that value available as a variable or temporary constant. We use an optional binding concept to check if the optional contains a value or not.
Optional binding can be used with the condition (if and while) statements to check for a value inside an optional.