The correct definition is:
A protocol that defines the structure of an Internet address and assigns a unique address to every device on the Internet.
Internet Protocol (IP) is a set of rules governing the format of data sent over the Internet or local network. It essentially determines how devices communicate with each other by providing unique addresses that allow data to be routed correctly.