70 years ago, programmers used punch cards to communicate with the very first computers and this process was easily understood by a relatively small number of people. Today, for instance, you can tell Alexa you like the song that is playing, and in response, it lowers the volume and says Ok, in a human-like voice. This then adapts its algorithms to play this song the next time you listen to this music station.
How did your device work? Well, the device got activated as soon as it heard you speak those words, it understood the unspoken intent in your comment, executed the action, then gave its feedback in a well-formed English sentence – all of this happened within five seconds. This could be made possible only with the help of NLP, deep learning and machine learning.