A flow of information used in a program as a sequence of bytes that are associated with a particular task or destination. In programming, an input stream can be a series of characters read from the keyboard to memory, or it can be a block of data read from or written to a particular disk file.