Most floaters are small flecks of a protein called collagen. They’re part of a gel-like substance in the back of your eye called the vitreous.
As you age, the protein fibers that make up the vitreous shrink down to little shreds that clump together. The shadows they cast on your retina are floaters. If you see a flash, it’s because the vitreous has pulled away from the retina. If the floaters are new or dramatically changed or you suddenly start seeing flashes, see your eye doctor ASAP.