An atom or ion is diamagnetic if it has all its paired electrons. Diamagnetic substances are weakly repelled by magnetic fields.
An atom or ion is paramagnetic and has some unpaired electron. Paramagnetic substances are attracted to magnetic fields.