I second that they are some sort of microorganism. My first thought was detritus worms which are also harmless to the tank but are considered aquarium pests. Whatever they are, they may have likely tagged along on an insufficiently quarantined aquarium plant. They can be sucked out of the tank with a gravel vacuum, but otherwise, as others have stated, are harmless.