Screensavers have been around since the 1980s, but the majority of people nowadays don't use them or don't even know what they are. They were created to prevent a still image from being burned into your monitor screen. Currently, they're mostly used for decoration or password protection.
This video from CHM Tech's explains the history of the well-known flying toaster design plus the reasons why screensavers have become less and less popular.