I'm watching this video on quotient groups and came across the following(you don't have to click the link):
$G$ is a group and $N$ is its subgroup.
Using $N$ to make cosets : $N, g_1N, g_2N, g_3N, \ldots$
I get why $x\in xN$ and $y\in yN$, but I'm not able to figure out the last two lines. Any help understanding why they say $x\cdot y \in (xN)(yN)$ for cosets to act like a group? It is obvious right? (Since $x\in xN$ and $y\in yN$, it is obvious $x\cdot y \in (xN)(yN)$. I don't get how this makes the cosets a group...)

We want to define the product pointwise, i.e $(xN)(yN)=\{gh:g\in xN, h\in yN\}$. From this definition obviously $xy$ must be in the product. Now, the set we get from multiplying two cosets is not necessary a coset itself. But since $xy$ belongs there we know that if it is a coset (which will happen if the cosets act like a group) then it must be the coset $xyN$.