A pipe acts as a  conduit allowing two processes to communicate. Pipes were one of the first IPC mechanisms in UNIX systems and it provides similar ways for processes to communicate with one another. Two common types of pipes used on both UNIX and Windows systems are ordinary pipes and named pipes. The pipe allows two processes to communicate in a standard Producer consumer fashion; the producer writes to one end and the consumer reads from the other end.