SharePoint Feature is part of Packaging and Deployment in SharePoint 2010. Depending on feature scope we can activate and deactivate functionality of solution on Site collection or web level.
Below link gives more detailed information about feature and its scope.
http://www.pritambaldota.com/index.php/understanding-features-and-feature-scope-in-sharepoint-2010/