How does a gene determine a trait?

We know that certain genes have specific effects on one's phenotype. However, Outside of containing DNA, we do not know how they cause these effects.

https://www.google.com/search?client=safari&rls=en&q=How+does+a+gene+determine+a+trait%3F&ie=UTF-8&oe=UTF-8