How susceptible to hard drives are magnets?

Fucking magnets, how do they work?