1: \begin{abstract}
2: Let $X$ be a smooth projective geometrically connected curve over
3: a finite field with function field $K$. Let $\G$ be a connected semisimple group
4: scheme over $X$. Under certain hypothesis we prove the equality of two numbers associated with $\G$.
5: The first is an arithmetic invariant, its Tamagawa number. The second,
6: is a geometric invariant, the number of connected components of the moduli
7: stack of $\G$-torsors on $X$. Our results are most useful for studying
8: connected components as much is known about Tamagawa numbers.
9: \end{abstract}
10: