Your core and legs are both important for balance, but other muscles will play a role in stabilization, depending on the specific balance exercise.