Eclipsing binaries are variable stars, not because the light of the individual components vary but because of the eclipses. The most notable eclipsing binary is the star Algol (β Persei), named the "demon star" by the Arabs in all probability because they noticed the variation in its light.
The light curve of an eclipsing binary is characterized by periods of practically constant light, with periodic drops in intensity. If one of the stars is larger than the other, one will be obscured by a total eclipse while the other will be obscured by an annular eclipse.
The period of the orbit of an eclipsing binary may be determined from a study of the light curve, and the relative sizes of the individual stars can be determined in terms of the radius of the orbit by observing how quickly the brightness changes as the disc of the near star slides over the disc of the distant star. If it is also a spectroscopic binary the orbital elements can also be determined, and the mass of the stars can be determined relatively easily, which means that the relative densities of the stars can be determined in this case.