Yes, soundbars can connect to most TVs using an HDMI ARC cable, an optical cable, or even Bluetooth.
What is HDMI ARC?
HDMI ARC (Audio Return Channel) enables two-way audio transmission between the TV and soundbar via a single HDMI cable, eliminating the need for additional audio cables.