The vitreous chamber contains a jelly like substance.

As you age, the jelly changes and becomes more liquid. Parts of jelly can break free and float around in the liquid. You can see these in your vision sometimes, they are known as floaters.

A sudden onset of floaters some times with flashes of light can be a warning sign of retinal detachment and should be checked immediately.