Depending on the age of your TV, there are three main ways to output to a soundbar: analog (3.5mm headphone or RCA), digital optical and HDMI. Before you buy a soundbar make sure it accepts the same connections present on your TV. The most common input on soundbars is now HDMI, and if your TV is less than 5 years old it should be compatible, but it's worth double-checking.