Definition (Monte Carlo estimator)
Let $X_1, \ldots, X_n$ be iid samples of $X \sim F$.
The Monte Carlo estimator for $\expect g(X)$ is $$ \begin{align*} \hat I = \frac{1}{n} \sum_{i=1}^{n} g(X_i). \end{align*} $$
$\var(\hat I) = \var(g(X))/n$.
The strong law of large number says $\hat I \xrightarrow{a.s.} \expect g(X)$.