It's basically a piece of code that can be called and activated at anytime within a large program. Unlike a function, it does not have to return any data.