Based on the detected positive correlation between the high-energy gamma ray and optical fluxes of the blazars 3C 66A and BL Lac, together with an analysis of spectra of active galactic nuclei from radio to very-high energies, it is proposed that the radio, optical, X-ray, and gamma ray emission, right up to very-high energies, is radiated by a single population of particles-high and very-high energy electrons. These electrons may be associated with the jet that is ejected from the central region of the galaxy at speeds close to the speed of light. The luminosities of the very-high-energy gamma rays of both Galactic and extragalactic objects grow with increasing distance. If the distance increases by an order of magnitude, the luminosity grows by nearly two orders of magnitude, independent of the type of object. The luminosities of gamma ray BL Lac objects at energies higher than 100 MeV grow with distance according to this same law.