What is an app and how does it work?

You tap a colorful square on your phone, and suddenly you're watching videos, chatting with friends, or playing games. That little square is called an app — short for application — and it's basically a set of instructions your phone follows to do something useful or fun. But how does tapping glass make all that happen?
Inside your phone lives a tiny brain called a processor — a chip smaller than a postage stamp that can think billions of thoughts per second. The processor is like the conductor of an orchestra, telling every part of your phone what to do and when to do it. It doesn't understand English or pictures, though. It only speaks in a language made of millions of tiny electrical switches flipping on and off.
