Similar to a small program, it is a set of commands which perform a particular action, without requiring any user input.