When the user interacts with the game, for example using the keyboard or mouse, these interactions are recorded. You can get the mouse position, or the state of mouse and keyboard keys, using this class.
All of the Control objects are internally tied to the state of the keyboard and mouse. So you can use the same controls object, across multiple frames.