If you 'cash in' your modules, it's basically like putting a jelly in the fridge to set. Once you've done it, that makes your final grade, whilst if you don't cash them in, you can resit individual modules. Most places don't actually bother cashing in your AS grades until the end when they cash in the A2s, since you may want to still retake AS modules in the second year.