Text messages travel through the air using radio waves. When you send a text message, your phone converts the message into a series of binary digits and transmits it as radio signals.
These signals are then picked up by cell towers or base stations, which relay the message to the recipient's cellular network. The recipient's phone receives the radio signals, converts them back into text, and displays the message.