Copy paste from here:

The vertical bar character is used to represent a pipe in commands in Linux and other Unix-like operating systems. A pipe is a form of redirection that is used to send the output of one program to another program for further processing.

Example which I use to kill all chrome instances:

pgrep chrome | xargs kill