Redirection of input and output is a natural function of any programming or scripting language. Technically, it happens inherently whenever you interact with a computer. Input gets read from stdin
(standard input, usually your keyboard or mouse), output goes to stdout
(standard output, a text or data stream), and errors get sent to stderr
.