The primary beneficiary is first in line to receive the benefit. If that person dies, the contingent beneficiary is next in line.
If both the primary beneficiary and the contingent beneficiary die, the death benefit will go into your estate and will be subject to all the rules surrounding an estate.