Posthumous sperm retrieval
Posthumous sperm retrieval (PSR) is a procedure in which spermatozoa are collected from the testes of a human corpse after brain death. There has been significant debate over the ethics and legality of the procedure, and on the legal rights of the child and surviving parent if the gametes are used for impregnation.
Source: Wikipedia — Posthumous sperm retrieval (CC BY-SA 4.0)