Which statement is true regarding the magnetic properties of diatomic molecules and ions of the second period?
A. An atom or ion with one or more unpaired electrons is paramagnetic and attracted to a magnetic field.
B. An atom or ion with one or more unpaired electrons is diamagnetic and attracted to a magnetic field.
C. An atom or ion with one or more unpaired electrons is paramagnetic and repelled by a magnetic field.
D. An atom or ion with one or more unpaired electrons is diamagnetic and repelled by a magnetic field.