It could be the hard drive as venjhammet said. If that is the case a new laptop hard drive should fix your issue. (They are easy enough to install.)
It could also be a fan rubbing against internal parts. If the fan doesn't run fast enough due to rubbing against the other parts the CPU could over heat and cause the computer to freeze or do emergency shutdowns. To fix this try using a can of compressed air to blow any dust out of the laptop. If that doesn't help and you know it's not the hard drive you may need to take it to a professional. I could fix it but I'm guessing we don't even live in the same state.
Those are the only moving parts in a laptop that would create any kind of sound.
You can run a virus scan but I believe a virus issue is unlikely.
You can also run a memory diagnostic but that would not be the cause of any noise.