Magnetism and Energy