I have a very general question: In games, what use does the programming concept of a window have? Or, in other words, why do some game dev libraries offer interfaces through which to create multiple windows? — Why would you need more than one windows in a game?
Are multiple windows used as different views/states of the game? (I.e. in-game, main menu, pause menu, etc.)