By setting a long camera exposure, usually between the 20 and 30 seconds, light that moves in dark environments become trails in the image.