The ping command returns an acknowledgement, so that clients can test the connection status and latency.
https://xrpl.org/ping.html