Ping is a handy tool while troubleshooting a network issue. Ping sends an ICMP echo request packet to the destination IP address. If destination is reachable, it sends back an ICMP echo reply message.
Ping output also shows some other information like round-trip time: time to send an ICMP request packet and receive an ICMP reply packet, success rate, timeout etc.
Here is an output of the ping command from packet tracer:
In above example we have pinged the destination 192.168.20.1. As you can see from the output above, the host with the IP address of 192.168.20.1 is reachable and has replied with ICMP echo reply packets.