PING uses ICMP to check connectivity of host to Internet(IP) layer. It send message to host computer to destination computer and then echoed back from destination to host computer. It also checks RTT. So, If it is not echoed back then there must be some error