It's probably a floater. A piece of tissue that floats in the visceral fluid in the eye. If you try to track it, it usually goes out to the side. You can get one or more of these with age and they are harmless. Your brain will eventually learn to ignore them but if you make yourself conscious of them, you will see it again. Sometimes they look like squiggly lines.