A Gadget is a portable chunk of code that can be installed and executed within any separate HTML-based web page by an end user without requiring additional compilation. They are derived from the idea of code reuse. Other terms used to describe Gadget include: web widget, badge, module, webjit, capsule, snippet, mini and flake. Gadgets usually but not always use DHTML, JavaScript, or Adobe Flash.
End users primarily use widgets to enhance their personal web experiences, or the web experiences of visitors to their personal sites.
The use of widgets has proven increasingly popular, where users of social media are able to add stand-alone applications to blogs, profiles and community pages. widgets add utility in the same way that an iPhone application does. The developers of these widgets are often offering them as a form of sponsored content, which can pay for the cost of the development when the widget's utility maps to the user's needs in a way where both parties gain.