Sewing thread can be cotton, rayon, or nylon, or most anything. Cotton sewing thread is more comon. Nylon, which is what fishing line is made of, will not dissolve. Cotton, or any natural fiber thread will dissolve.
None of them pose any threat to fish or animals other than them possibly getting tangled in it if its loose