What Are Balance Transfers on Credit Cards and How Do They Work?

I’ve heard about balance transfers on credit cards, but I’m not sure how they work. Can someone explain what they are and how they help save on interest? Are there any downsides to using a balance transfer to consolidate debt?