This question already has an answer here:
- How can gravity affect light? 5 answers
I have heard that no one escape from the intense gravitational field of a black hole (obviously that's why it is black). And gravitational force is due to the mass having the body, no mass no gravity, as $$F=GMm/r^2$$ Putting $0$ in one of the two bodies' masses, gives no gravitational force. But light cannot escape from black hole due to its strong gravity, does that mean that light has mass? please correct me.