In computing, a protocol is a set of rules and conventions that governs how data is exchanged between two or more communicating devices. It defines the syntax, semantics, and synchronization of communication.
Essentially, a protocol is the "language" that devices use to talk to each other. It ensures that the sending device and receiving device understand each other. Examples include:
HTTP (Hypertext Transfer Protocol): for viewing web pages.
TCP/IP (Transmission Control Protocol/Internet Protocol): for routing data across the internet.
SMTP (Simple Mail Transfer Protocol): for sending emails.