Does texting spend Internet data on my iPhone?

I turned off my cellular data and a message didn't send and no it wasn't iMessage. Is there a way to text without spending data?

Texting doesn't use data, no.

Unless you attach a picture or video.

You most likely just didn't have signal at the time. Try and send it again
Hope this helps!