A safety review conducted by the EFSA in 2021 assessed thousands of studies published on titanium dioxide.
Titanium dioxide can boost and brighten colors because of how well it absorbs and also scatters light. In food and drugs, this additive is known as E171 and helps define colors clearly and can prevent degradation (cracking and breakdown of materials) from exposure to sunlight.