Optionals type is used to handle if there is no value , it says there is a value and it is equal to x or there is not a value at all. It has two value None or SomeValue(T) where T is an associated value For Example : for string var someStr: String? or