A network protocol (or just referred to as protocol) is a set of rules and conventions that are necessary for the communication between two network devices.