A WordPress plugin can be anything. I’ve made plugins that make WordPress into a management system, an electronic directory that pulls from another site, to something that simply automatically clears the cache for you.
Plugins
If WordPress was an iPhone, plugins would be the apps.