Explain how pipe syntax works under the hood in a Unix shell, and how processes communicate through pipes.