When you decide who inherits. A will lets you direct how your assets pass and appoint an executor. It must be in writing and attested by two witnesses; it does not require registration, but registering it adds a layer of authenticity.
When you must declare a fact on oath. An affidavit is a sworn statement used for proof of address, date of birth, a gap in employment, a lost document and countless official purposes, signed before a notary or oath commissioner.
When someone must act for you. A power of attorney authorises a trusted person to handle banking, property or specific transactions on your behalf, within the scope you define.
When you give something away. A gift deed records a transfer made without consideration. For immovable property the gift deed must be in writing, attested and registered to be valid.