The root Tk instance represents the main window of our GUI—when it is destroyed, the application quits and the event mainloop finishes.
However, there is another Tkinter class to create additional top-level windows in our application, called Toplevel. You can use this class to display any kind of window, from custom dialogs to wizard forms.