I got this on my physics class but I post it here since it relate to math more

Here, the explanation is $$s(t)e^{-j\frac{2\pi lt}{T}}=\sum c_ke^{j\frac{2\pi kt}{T}}e^{-j\frac{2\pi lt}{T}} \\ \implies\int s(t)e^{-j\frac{2\pi lt}{T}}=\int\sum c_ke^{j\frac{2\pi kt}{T}}e^{-j\frac{2\pi lt}{T}} $$ At this point, my lecturer said "over $e^{j\frac{2\pi kt}{T}}e^{-j\frac{2\pi lt}{T}}$ the only time you get anything is when $k=l$ so what happens, all the term in this sum disappear except for the $l$ for whatever $l$ is
So the following result is $$c_l=\frac1T \int_0^T s(t)e^{-j\frac{2\pi lt}{T}}dt$$
I don't understand why is this. Can someone explain it for me.