Procedure

A procedure is a set way of doing something. It can be a part of a program, like a sub program/process.