Your ESP32 has a secret processor that keeps working while the rest of the chip is asleep
You may not know about the third CPU core on your chip, but it's highly useful
We haven't written up this one. XDA Developers has the full story — the link below goes straight to it.