Magnetic Interactions in Solids