How deeply do you want this question answered? An atom is given its spin by the spin of its constituent particles. Protons and Neutrons are fermions, as are the electrons, all of which have spin 1/2. These constituent particles' spins combine quantum mechanically to give you the atom's total spin.