Bring a magnet near an iron nail. What do you notice? The iron nail gets attracted towards the magnet and starts moving. You already know that movement means kinetic energy. But from where does the kinetic energy come to the nail?
The force applied due to the magnetic field of the magnet produces some acceleration. This force does some work on the nail and that is seen as Kinetic Energy of the nail.