Pregunta de entrevista de Cisco

How does ping work internally?