Format functions convert data into formatted strings. You can convert many different items of data into single, formatted strings that can then be displayed, printed, or written to a file. The format functions also convert (formatted) data back into individual elements; for example,, strings that are read from files or other devices.