Screensavers were originally a way to prevent burn-in on older CRT monitors. The now-classic moving images in early operating systems were created to keep any single pixel on the screen from remaining in place for too long, leaving behind a ghost on…
Source: Engadget – The Galaxy S8’s home button shifts to prevent screen burn