The best explanation for why plants have different types of seeds, including variations such as brightly colored berries, is:
B. to reproduce in different environments.
Different seed types and structures, including how seeds are dispersed, help plants adapt to various environmental conditions and reproductive strategies. Brightly colored berries are a specific adaptation to attract animals for seed dispersal, which enhances reproduction in diverse habitats.