Lens flare is caused when light enters the lens at such an angle that the light rays do not completely flow through the lens, but instead are reflected back and forth between lens elements. The sun spots created typically show the shape of the diaphragm (aperture blades) the camera was using at the time the photo was created.

To learn more about what it is, and you can do to fix it, check out this article from