Redirection is all about changing the input and output of commands.

See that? The > sign redirects the output of the echo command to readme.txt.