How did texting evolve?

Texting used to be in Morse code then it turned to e-mail then it turned into wireless texting on mobile phones.