A p-v diagram, or pressure-volume diagram, is a graphical representation that shows the relationship between the pressure and volume of a substance during thermodynamic processes. These diagrams are essential for visualizing how systems behave through various processes like compression, expansion, and phase changes, and they help in analyzing cycles and efficiencies.