A piping and instrumentation diagram (P&ID or PID) is a detailed diagram in the process industry which shows the piping and process equipment together with the instrumentation and control devices. It is also called as mechanical flow diagram (MFD). 
Superordinate to the P&ID is the process flow diagram (PFD) which indicates the more general flow of plant processes and the relationship between major equipment of a plant facility.