The FBI had immediately subpoenaed her body upon her death, in the hopes that it could be used for this exact purpose. They preserved her brain as well as blood and tissue samples to create a DNA profile. This profile, among other things like facial recognition, was used to confirm that the man shot in the raid on the compound in Pakistan, was in fact Bin Laden. The DNA test was conducted in Afghanistan, after which Bin Laden was buried at sea.