If $G$ is a group and $a_i \in G$ for $i \in I$ where $I$ is a set of indices, then the subgroup $H$ of $G$ generated by $\{a_i\ |\ i\in I\}$ has as elements precisely those elements of $G$ that are finite products of integral powers of the $a_i$ where powers of a fixed $a_i$ may occur several times in the product.
I didn't understand what this theorem means. I didn't understand the part in bold. Does finite products of integral powers of the $a_i$ mean $a_i^k$ where $k$ is finite? Didn't understand the last part anyway, can someone somehow show a precise way of this theorem to me? Thanks!