A network diagram is a visual representation of how devices, systems, or components in a network are connected and communicate with each other.