Driving multiple electromagnets

That is indeed cool to use a shift register, but Im not sure I want to make it more complicated for me, because I just only found out what it is :smiley:
But why would I need to use 24v electromagnets for this?