How can natural selection lead to traits in bacteria and insects, such as drug resistance or pesticide resistance?

a) Natural selection favors individuals with traits that are detrimental to survival.
b) Natural selection promotes diversity by preventing the development of specific traits.
c) Individuals with traits that provide a survival advantage are more likely to reproduce and pass on these traits to the next generation.
d) Traits like drug resistance or pesticide resistance are acquired randomly and are not influenced by natural selection.