Relativistic redshift of light and its implication for astrophysical objects