A piping and instrumentation diagram, or P&ID, shows the piping and related components in a physical process flow.