Protons and neutrons also have spin as well, which give each nucleus a net spin. Nuclear spin is beyond what is covered in introductory courses, but it's important in advanced chemical analytical techniques such as nuclear magnetic resonance (NMR).