No, Vaseline does not block UV rays.
Vaseline is a petroleum jelly that acts as a barrier to moisture, but it does not offer any protection against the sun's harmful ultraviolet (UV) rays.
While Vaseline can temporarily soothe sunburned skin, it does not prevent sunburn or long-term skin damage caused by UV exposure.
To protect your skin from the sun, it is crucial to use sunscreen with an SPF of 30 or higher and to wear protective clothing, sunglasses, and a hat.