I'm a student at STEM School (10th grade), and I'm studying optics and light in Physics. I was studying the Fermat principle which say:
The path taken between two points by a ray of light is the path that can be traversed in the least time.
I asked myself, how light is supposed to know which path to take, in so less time (3*10^8 m/s), considering light hasn't mass and how their 'atoms and molecol' set to choose the less time? (Sorry for my english, but english isn't my 1st language)