Internet Control Message Protocol (ICMP) is used at layer three to support a variety of functions. One important application for ICMP is the ubiquitous ping function, used to test network connectivity between different types of devices.
See RFC 792.