The Moiré pattern formed using two sets of straight line patterns illustrates the interference fringes produced by interfering two plane waves. The spacing of the Moiré pattern depends on the angle between the two straight line patterns, just like the spacing of interference fringes depends upon the angle between two plane waves. The spacing of the lines can be thought of as the wavelength of the two plane waves. For a given angle between the two plane waves the smaller the wavelength, the smaller the spacing of the interference fringes.
Moiré patterns are a good way to illustrate the interference of two wavefronts. Moiré patterns show the difference between the two original patterns just like interference fringes show the phase difference between two interfering wavefronts. When the two patterns are in phase, bright regions result and when the patterns are a half-period out of phase, dark regions result.