A series of steps to be executed that then causes an action in a machine.