In simple terms: Precision.
task.wait() is the same as RunService.Heartbeat:Wait()
task.wait()
RunService.Heartbeat:Wait()