Motivation of Runge-Kutta methods
If we consider the ODE $\v y' = \v f(t)$, then $$ \begin{align*} \v y(t_{n+1}) = \v y(t_n) + \int_{0}^{h} \v f(t) \d t \end{align*} $$ and we can approximate the integral with a quadrature: $$ \begin{align*} \v y_{n+1} = \v y_n + h \sum_{i=1}^{s} b_i \v f(t_n + c_ih). \end{align*} $$
However when we have a genuine ODE $\v y' = f(t, \v y)$ and we still try to approximate $$ \begin{align*} \v y(t_{n+1}) \approx \v y_n + h \sum_{i=1}^{s} b_i \v f(t_n + c_i h, \v y(t_n + c_ih)), \end{align*} $$ we see we don't know the values of $\v y(t_n + c_ih)$.
The idea is the approximate them by previous values: $$ \begin{align*} \v y(t_n + c_i h) ={}& \v y(t_n) + \int_{t_n}^{t_{n} + c_ih} \v f(t, \v y(t)) \d t \\ \approx{}& \v y(t_n) + h \sum_{j=1}^{i-1} a_{ij} \v f(t_n + c_jh, \v y(t_n + c_jh)) \\ \implies \v f(t_n+c_ih, \v y(t_n + c_ih)) \approx{}& \v f\Bigl(t_n + c_ih, \v y(t_n) + h\sum_{j=1}^{i-1} a_{ij} \v f(t_n + c_j h, \v y(t_n+c_j h))\Bigr). \end{align*} $$ Let $\v k_i \approx \v f(t_n + c_ih, \v y(t_n + c_i h))$. Hence we obtain the Runge-Kutta method $$ \begin{align*} \v k_i ={}& \v f\Bigl(t_n + c_ih, \v y_n + h \sum_{j=1}^{i-1} a_{ij} \v k_j\Bigr), \qquad i=1,2,\ldots,s, \\ \v y_{n+1} ={}& \v y_n + h \sum_{i=1}^{s} b_i \v k_i. \end{align*} $$
A reasonable requirement is for the quadratures to be exact when $\v f$ is constant, so we impose $$ \begin{align*} \sum_{i=1}^{s} b_i = 1, \qquad \sum_{j=1}^{i-1} a_{ij} = c_i. \end{align*} $$