A widget is an item with a defined functionality and behaviour which can be displayed on the screen. Tk provides a wide range of widgets like e.g. frames, buttons, scrollbars, labels, canvases etc. All widgets are arranged hierarchically, there is a toplevel window (one is created when wish is started), it can contain e.g. some frames, each frame may contain one or more other widgets, etc.