Given a $R$-module $M$, it's flat iff $Tor_1(N,M)=0$ for all $R$-module $N$, which can be deduced from a free resolution of $N$, tensoring with $M$ and applying the definition of flatness.
But there is equivalent statement that $M$ is flat iff $Tor_1(M,N)=0$ for all $R$-module $N$, which interchanges the position of $M$ and $N$. Now, it's tensoring the free resolution of $M$ with $N$! I don't know how to prove this from definition or use other ways. Hope someone could help. Thanks!