What determines a trait of an organism?

A trait of an organism is determined by its genetic makeup, which is passed on from its parents through the process of inheritance. Genes, which are segments of DNA, contain the instructions for specific traits. Different versions of a gene, known as alleles, can result in variations of the trait. Additionally, environmental factors can also influence the expression of certain traits or interact with genetic factors to determine the final phenotype of an organism.