Magnetic nanostructures applications