Plugins are essentially modular code that you can put in into one or more WordPress sites. When you find yourself generating related customizations throughout a number of sites, it would be time to encapsulate those modifications inside of a reusable Plugin, and in order to create a behavioral transform or insert some new functionality to your site