I assume $G$ is affine. The quick answer is that in the simply connected case it says $1 = 1/1$ by various hard ingredients, and then it is a kind of (not easy) game with Galois cohomology and structure theory of semisimple groups to check both sides have the same behavior as we build up a general $G$ from the simply connected case (with the help of class field theory to deal with tori).
Let's address number fields $K$ in more detail (the case of global function fields has a variety of serious complications). Since $K$ is perfect, the geometric unipotent radical descends to a smooth connected unipotent normal $K$-subgroup $U$ in $G$, with $G/U$ reductive. Now $U$ is $K$-split (composition series over $K$ with successive quotients $\mathbf{G}_a$), and $G$ is a $U$-torsor over $G/U$. By elementary methods it follows that ${\rm{Pic}}(G/U) = {\rm{Pic}}(G)$. Likewise, the Tate-Shafarevich sets for $G$ and $G/U$ match because the existence of a Levi decomposition (char. 0!) ensures that the pullback on ${\rm{H}}^1$'s is bijective (even though $U$ isn't central, so cannot argue with ${\rm{H}}^2$'s). The Tamagawa numbers also match, by behavior of Tamagawa numbers in exact sequences (see Oesterle's masterpiece paper) and the fact that Tamagawa number of $\mathbf{G}_a$ is rigged to be 1 by definition. OK, so we can focus on the case with content, which is reductive $G$.
For tori, one uses work of Ono and its refinements (building on Tate-Nakayama duality for tori, etc.) This is all in Oesterle's paper too. In general there's an etale (central) isogeny $Z \times G' \rightarrow G$ where $G'$ is semisimple and simply connected. By arguments with Galois cohomology and class field theory, one has to show that the validity of the desired formula can be pulled down to $G$ from $Z \times G'$ (the key case being isogenies between connected semisimple groups); this sort of thing is addressed a bit in Voskresenskii's survey paper "Adele groups and Siegel-Tamagawa formulas".
So then finally we're brought to the case when $G$ is semisimple and simply connected. Thus, $G = \prod G_i$ for $K$-simple factors, and then $G_i = {\rm{Res}}_{K_i/K}(H_i)$ for finite (separable) extensions $K_i/K$ and absolutely simple and simply connected $H_i$. Tamagawa numbers are invariant under Weil restrictions and commute with products, so the assertion $\tau_G = 1$ reduces to the absolutely simple case, which was a conjecture of Weil solved by Langlands, Lai, and Kottwitz. By Shapiro's Lemma, the triviality of Tate-Shafarevich also reduces to the absolutely simple case, where it is the famous "Hasse principle" due to many people over many years. Finally, the triviality of Pic is handled by relating line bundles to central extensions by $\mathbf{G}_m$ (this requires some input from the structure theory of semisimple groups, with help of Galois descent to pass to the case of split groups, for which the structure of the open cell allows us to copy some arguments used to study Pic of abelian varieties). We exploit simple connectedness by the following elementary observation: if $E$ is a central extension of simply connected $G$ by $\mathbf{G}_m$ then it is reductive and hence $D(E) \rightarrow G$ is a central isogeny, thus an isomorphism because $G$ is simply connected!