A Raspberry Pi can do a lot, but adding an ESP32 gives it the physical reach that small hardware projects often need.
Your drawer full of Raspberry Pis is about to become useful again ...