How a program works