The purpose of pedigree is to trace the ancestory. Therefore, the correct answer is B, i.e., to understand the patterns of inheritance in organisms. it helps in knowing that what characters are passed to the offsprings, what disease may be transferred to the offsprings, and also the mode of inheritance of the disease.