An eclipse happens when the moon blocks the sun or the earth's shadow blocks the moon