Computers are used to execute commands, such as calculating a value, sending information to another computer, or performing whatever tasks the user needs.