How can gravity affect light? I understand that a black hole bends the fabric of space time to a point that no object can escape. 
I understand that light travels in a straight line along spacetime unless distorted by gravity. If spacetime is being curved by gravity then light should follow that bend in spacetime.
In Newton's Law of Universal Gravitation, the mass of both objects must be entered, but photon has no mass, why should a massless photon  be affected by gravity in by Newton's equations?
 What am I missing? 
 A: One can in principle consider a Schwarzschild spacetime:
$ds^2 = -\left(1- \frac{2M}{r}\right)dt^2 + \frac{dr^2}{1- \frac{2M}{r}} + r^2 \left(d\theta^2 + \sin^2 \theta d \phi^2\right)$
The Lagrangian of geodesics is then given by:
$\mathcal{L} = \frac{1}{2} \left[- \left(1 - \frac{2M}{r}\right)\dot{t}^2 + \frac{\dot{r}^2}{1-\frac{2M}{r}} + r^2 \dot{\theta}^2 + r^2 \sin^2 \theta \dot{\phi}^2\right]$
After applying the Euler-Lagrange equations, and exploiting the fact that the S-metric is spherically symmetric and static, one obtains the orbital equation for light as (After defining $u = 1/r$) as:
$\frac{d^2 u}{d\phi^2} + u = 3 M u^2$. 
It 's pretty difficult to solve this ODE. In fact, I don't think a closed-form solution exists. One can apply a perturbation approach. Defining an impact parameter $b$, one can obtain an ansatz solution to this ODE as:
$u = \frac{1}{b} \left[\cos \phi + \frac{M}{b} \left(1 + \sin^2 \phi\right)\right]$.
One can derive the following relationship:
$u\left(\frac{\pi}{2} + \frac{\delta \phi}{2}\right) = 0$,
where $\delta \phi$ is the deflection angle. 
Now, finally Taylor expanding $u$ above around $\pi/2$, one can show that, in fact:
$\delta \phi = \frac{4M}{b}$, 
which is the required result. 
A: Newton's law does predict the bending of light. However it predicts a value that is a factor of two smaller than actually observed.
The Newtonian equation for gravity produces a force:
$$ F = \frac{GMm}{r^2} $$
so the acceleration of the smaller mass, $m$, is:
$$ a = \frac{F}{m} = \frac{GM}{r^2}\frac{m}{m} $$
If the particle is massless then $m/m = 0/0$ and this is undefined, however if we take the limit of $m \rightarrow 0$ it's clear that the acceleration for a massless object is just the usual $a = GM/r^2$. That implies a photon will be deflected by Newtonian gravity, and you can use this result to calculate the deflection due to a massive object with the result:
$$ \theta_{Newton} = \frac{2GM}{c^2r} $$
The calculation is described in detail in this paper. The relativistic calculation gives:
$$ \theta_{GR} = \frac{4GM}{c^2r} $$
The point of Eddington's 1919 expedition was not to show that light was bent when no bending was expected, but rather to show that the bending was twice as great as expected.
A: 1) The bending of light rays is a general relativistic effect, not one due to Newton's law of gravity.
2) It's probably better to think about these things from a field perspective -- a distribution of mass-energy moves along, and it creates a gravitational field.  Then, when things enter that field, they interact with it, and this changes their motion.  These things might have their OWN gravitational field that can move the first things, or whatever else, but they are just interacting with the field, not the matter distribution that created the field.
A: I think what the OP was missing is the principle of the equivalence between mass and energy, as well as the fact that light rays do bend even in a vacuum, and even if that bending shows a curvature so subtle that it remains far beyond our perception without magnification equipment.
As pointed out by Viktor Toth  at  https://www.researchgate.net/post/Why_do_you_think_that_gravitational_lensing_is_due_to_time_dilation_Can_it_be_due_to_length_contraction , both gravitational time dilation and gravitational length contraction appear to have been equally involved in that deflection of light rays by gravitating objects, as verified during the 1919 eclipse mentioned by John Rennie:  Some such deflection had been accepted as an effect of Newton's theory of gravity, and was exactly doubled by Einstein, leading to the 1st experimental confirmation of GR.
The most interesting thing about this, to me, is that the spatial aspect of the curvature involved appears to have been discovered more than a century after its temporal aspect:  The shape of objects as familiar as the moon is suggestive of spatial curvature, but an understanding of time apparently held greater interest.
A: If the mass of light is assumed to be strictly zero, Newton gravity would produce zero force. However the orbit of light is determined by acceleration, not force. For zero mass, acceleration is undefined. In the limit of photon mass going to zero the force goes to zero, but acceleration is of course independent of photon mass. One can therefore simply apply Newton acceleration to an object moving at speed c. This results in the value of Einstein's paper of 1911, which is half the GRT prediction and the experimental value. See https://en.m.wikipedia.org/wiki/Gravitational_lens #History.
A: It's just a simple concept according to Einstein's relativity when light travels through high gravation field or high mass containing object (i.e. same when a object has high mass means it can attract other objects of lesser mass) the photons present in the light gets attract towards the other object and we see light bending in the universe, but there is one thing is to note that photons are massless matters but in this case the object with higher mass attracts the object with lesser mass weather it is 0.
