Themes can provide a screenshot that shows up on the Appearance page. A theme's screenshot can be provided by placing a screenshot.png image file in the theme folder or a file specified in the info.yml file under the screenshot key.
If the screenshot is missing, a default is used, as seen with the Classy and Stark themes. Generally, a screenshot is a Drupal site with generic content using the theme.