A weak economy will often dictate a weak currency, but often a weak currency is because the currency in question is not in demand.
Political tensions with the USA, and the Iran-Iraq war rendered the Iranian Rial officially the weakest currency in the world.
Conflict, isolation and high inflation are often what contribute to a currency’s rapid depreciation.
In Africa, Sierra Leone has the weakest currency.
The Sierra Leone was introduced in 1964, replacing the British West African pound.
For a brief period, Sierra Leone was worth more than a US dollar in the 1980s, before it began to suffer huge depreciation.