I see random shapes of light in my vision. What could it be?

Migraine. If temporary experience, a common cause is migraine with or without headaches first. Good to have an eye exam to be sure no other conditions exist. If it's more like flashes of light, it could be changes in the gel of the eye and needs to be evaluated.