Which of the following is an example of genetic diversity?

A different species of birds in a forest
B two individuals of the same species with different traits
C the variety of habits and ecosystem
D the interactions between organisms in a food web

B two individuals of the same species with different traits