ICMP (Internet Control Message Protocol) is for IP control/error reporting. It generates error messages for service availability and router/host status.
Moreover, ICMP is a sub-protocol used for the control and error reporting of the Internet Protocol (IP). Error messages are like signals that tell us if something is working or not. They can show if a device or connection is not available.