Punnett squares are used to show possible combinations of alleles or to predict the probability of a trait occurring in offspring. A pansy that is homozygous for purple flowers (PP) is crossed with a pansy that is homozygous for pink flowers (pp).