Swift provides a standard set of built-in data types which are used for different purposes :
Int : It is used to store the integer value
String : String literals are used to define the text that contains double quotes in Swift.
Double and Float : They are used in Swift when we have to define decimal value or number.
Arrays : Arrays are defined for the collection of list items.
Bool : It is used to store the Boolean value. It uses ‘True’ and ‘False’ conditions
Dictionaries : A dictionary is used to collect items of a similar type that is connected with a unique key.