A liveness probe is a health check Kubernetes uses to see if a container is alive. When a pod starts, Kubernetes waits for initialDelaySeconds before sending the first probe. It then sends probes every periodSeconds. If the probe succeeds, Kubernetes does nothing and waits for the next check. If the probe fails, Kubernetes kills the container and restarts it. This cycle repeats to keep the application running smoothly. The YAML example shows a simple HTTP GET probe on /healthz at port 8080. The execution table traces the container state and probe results step-by-step, showing how Kubernetes reacts to success and failure. Key points include the wait before the first probe, the restart on failure, and no action on success. This helps beginners understand how liveness probes maintain container health automatically.