LoRaWAN gateways may be connected via wired ethernet, cellular, WiFi or even satellite depending on the brand and model of your gateway. Regardless of your application, multiple solutions are available to get your sensors on the cloud.
It is also possible to operate a sensor network within a stand-alone closed system, such as a gateway hosting a localized network server, where an internet connection is not necessary or not feasible.