Kotlin I/O is used for input and output processing. Kotlin provides the kotlin.io API for working with files and streams. Some of the functions used in kotlin.io are extensions of java.io classes. All in all, using kotlin.io for reading from and writing to files and streams is very easy.