These devices take two or more HDMI inputs and allow you to choose which video source is directed to the output. They typically allow you to choose using a push button or remote.
Example use: Switch your displays from showing separate half-court scoreboards to showing the same full-court scoreboard.