The word bodaiji originally referred to Buddhist temples that were established to pray for souls in the afterlife but it also refers to a temple housing the graves of successive generations of a family.
菩提寺（ぼだいじ）は、仏教に於いて、もともと菩提を弔う寺院の事を指すが、先祖代々の墓所がある寺院の事も指す。