Consider a compact, connected and simply connected Lie Group $G$, and two elements in the corresponding Lie algebra $X$ and $Y$. By successive action of exponential map you can get the following element in the Lie group $$e^{\alpha_1 X}e^{\alpha_2 Y}...e^{\alpha_{n-1} X}e^{\alpha_n Y} \in G. $$ Suppose $X$ and $Y$ can generate the whole Lie algebra, then the whole Lie group $G$ can be generated.
For example, consider $SU(2)$ and $X=i\sigma_x, Y=i\sigma_y$ (where $\sigma$ are Pauli matrices), then they can generate the whole $SU(2)$ by the famous parametrization of Euler angles.
The question is: what is the minimum number of $n$ for a general Lie group $G$? For example, for a $SU(2)$, the number is 3.
Thank you for your attention!