There are two types of noise - random and systematic.
Let's imagine you're shooting with a sensor that has a range of two bits - each pixel is on or off, 1 or 0. Where your image contains a real light source the pixel will be on (1), where it's dark it'll be off (0). Random noise will mean that any pixel has a chance of lighting up even though there's no light hitting it. Let's say the chance is 10%. So your single image has lots of stars - 1s - and lots of dark sky - 0s - but it will also have 10% of that dark sky as noise - also 1s. You have a signal:noise of 1:1
Now let's take 10 such photos and stack them - add all the individual signals together. All of the stars will be in the same place - so each star will have a value of 10. However, because the noise is random the chances that a noisy pixel in one image coincides with a noisy pixel in one of the other 9 images is about 50:50 - so you'll have a lot of pixels with a value of 1, several with a value of 2, a few with a value of three, etc. You can see that your signal:noise has improved significantly, close to 5:1 Now stack 100 images. Your stars will all have a value of 100 - but your noise pixels will only have increased a little bit. Indeed, the signal:noise ratio will be around 25:1 (although I fear I may be out in my maths - but the general idea is correct).
So, that's how to reduce random noise. What about systematic noise - hot pixels?
Hot pixels are always on - on our imaginary sensor they always give a signal of 1. Canon's Long-Exposure Noise Reduction takes a dark frame by making an exposure using the same settings without opening the shutter - then subtracting that image from your light-frame. Which is OK - except that the dark-frame image will also have some random noise - which will also get subtracted from your light-frame. This is not drastic (you'll have some extra dark pixels) but it can be avoided.
If you take several dark frames then stacking them will result in large signal for the hot pixels (always in the same place) and much smaller signals for the random noise (sacettered in ransom locations). So the stacking software will only remove those bright pixels.