Energy storage in magnetic fields involves capturing energy in the magnetic field created by an inductor when current flows through it, allowing energy to be stored and released efficiently in various applications such as transformers and inductors. This method is crucial in technologies like power grids and electronic devices, where rapid energy transfer and storage are necessary for optimal performance and stability.