This is a counting solution to which selections of object which are not all distinct.
The basic premise is that the number of non-negative integer solutions to $x_1+x_2+x_3+...+x_k = n$ is equal to the number of ways to place $n$ identical balls into $k$ labelled boxes in which is equal to the number of sequences of $n$ stars (*) and $k-1$ bars (|).
The correspondence in the former case is to let $x_i$ equal the number of balls in box $i$, $1 \leq i \leq k$, and in the latter case it is to let the number of stars before the first bar equal the number of balls in box $1$, the number of stars between the first and second bar equal the number of balls in box $2$, the number of stars between the second and third bar equal the number of balls in box $3$, and so on until, finally, the number of stars following the last bar equals the number of balls in box $k$.
You can imagine the $n$ stars as the balls, and the $k$ spaces created by the $k-1$ bars as the $k$ boxes. The number of solutions is then the number of arrangements of these $n+k-1$ non distinct objects, and is $$\frac{(n+k-1)!}{n!(k-1)!} = C(n+k-1, n) = C(n+k-1, k-1).$$
Any explanation would be appreciated