Not sure what context you're referring to but in batch language redirection either gets text input from or puts text output to a
device (disk file, COM, NUL, and others not used in batch code).
The pipe is used to send the text output of one command into another command. If I recall, only three commands (
sort,
more, and
find) can take input from the pipe.
Should you ever use Microsoft Powershell, you'll find the pipe is used quite extensively and that you can send complete objects, not just text into the pipeline.