When the ESP32 is connecting over a wireless connection to the Toit cloud, it can be accomplished either via WiFi or using a cellular connection.

The type of connectivity chosen is entirely up to you, i.e. the project or use case in hand together with its requirements or needs.