Since it's a long exposure shot, the camera's shutter will stay open for a long period of time (let's assume 20 seconds). During that period of time, whatever is still in the photo, is getting recorded and what ever isn't, won't be, especially if it isn't a brightly lit subject; the reason you can see the sparkle trail because it's a bright light. Hope that helps a little
\(^-^)/