Probably, it's known as Lens flare. A short googling would have provided your answer. Wikipedia has a good article on it. It happens when light reception takes place through lenses (both cameras and eyes).
This image gives somewhat better idea about Lens flare...
The number of rays and their direction depends on the angle of incidence.