If A and B are two points in the space, then how does light travel from point A to B?
Light always travel in a straight line. This property is called the rectilinear propagation of light. Light can travel through a vacuum. Unlike sound waves, it does not require any medium or material to travel.