Neosaiyan7, Trait is a characteristic, feature or attribute that defines something or someone. Traits can be either positive or negative and can refer to different aspects such as personality, appearance, behavior, etc.
Example: A person's character trait can be kindness. If someone is always willing to help others and shows care, they can be said to have a trait such as kindness.
So going back I want to say that trait ≠ ability.