Every external device — streaming stick, cable box, console — plugs into a numbered HDMI port, and the TV can only listen to one port at a time. Choosing the input is telling the TV which port to listen to. That is the entire concept; the rest of this short guide is the practical detail that makes it boring forever.
This works the same way on every brand of TV. Compiled from TV manufacturers’ documentation.