Text this: A general discussion on photon spheres in different categories of spacetimes