This refraction causes the sun's rays to bend downwards, making the sun appear higher in the sky than its actual position. Near the horizon, this effect is most pronounced. As a result, the sun appears to rise earlier in the morning (apparent sunrise before actual sunrise) and set later in the evening (apparent sunset after actual sunset).