For example

The legal document known as a will details who is to have all of a persons property after their death.