Registration streamlines voting in that you don't need to bring ID, proof of eligibility, and residency to the polling place. You just show up and they check your signature.
Party declaration determines what party's primary you can vote it. It's to prevent people from casting spoiler votes to help a weak opposition candidate win their primary. Not all states do this: some ask which ballot you want at the polling place.