Smart TVs work by connecting to the internet either through Wi-Fi or Ethernet, allowing users to access online content directly on their television screens.