Magnetism in coordination compounds arises from the unpaired electrons in the d-orbitals of the metal ions, which can result in paramagnetic or diamagnetic behavior depending on the electronic configuration and ligand field. The magnetic properties are crucial for understanding the electronic structure and reactivity of these compounds, as well as for their applications in materials science and catalysis.