I can't get my head around something...
Why does $\displaystyle\int_{-\infty}^{\infty}e^{-x^2}\sin x\,dx=0$ but $\displaystyle\int_{-\infty}^{\infty} \sin x\,dx$ or $\displaystyle\int_{-\infty}^{\infty} \frac{\sin x}{x^{2n}}\,dx$ doesn't converge?
I thought maybe the first equality can be justified by saying the integrand is odd, but since this is also the case for the others, I don't understand why they aren't $0$. Does this have something to do with the exponential function "dominating" the sine?

