Activities are refer to as the window to a user interface. Activities play the same role just as you create windows in order to display output or to ask for an input in the form of dialog boxes, , though it may not always be in the form of a user interface.