With an iPhone 14 or later and iOS 18 or later, you can send/receive messages even with no cellular or Wi-Fi signals.