If the earth is flat, how does solar and lunar eclipses happen?

can someone explain?
Was this page helpful?