A plugin is a piece of existing code that adds a new feature to a website. Plugins enable website owners to extend the functionality of their site beyond what WordPress provides.