What determines when we have an eclipse?

What determines when we have an eclipse?

What determines when we have an eclipse?