Sports require moving around a lot, so it will get your heart pumping. And before sports, you have to exercise, so the fibers in your muscles break and become stronger, therefore, making you stronger and your muscles bigger.
Some are simply sugar water, basically. Some are isotonic replacement solutions that replace things like magnesium , calcium, potassium, things that are lost by massive sweating and MAY cause muscle...