Light experiences redshift when traveling from massive objects due to gravitational effects and when the objects are moving away from the observer. Distinguishing between these causes involves calculating the mass of the object and comparing it to the observed redshift. For nearby objects like the Sun, calculations are straightforward, but for distant galaxies, assumptions about dark energy and dark matter complicate the analysis. Recent astronomical projects aim to provide more data to refine these methods and validate the assumptions made in redshift studies. Understanding the contributions of both gravitational and Doppler redshift is crucial for accurate cosmological models.