Devaluation is most often used in situation where a currency has a defined value relative to the baseline. Historically, early currencies were typically coins struck from gold or silver by an issuing authority which certified the weight and purity of the precious metal. A government in need of money and short on precious metal might abruptly lower the weight or purity of the coins without announcing this, or else decree that the new coins had equal value to the old, thus devaluing the currency.
Later, paper currencies were issued, and governments decreed them to be redeemable for gold or silver (a gold standard). Again, a government short on gold or silver might devalue by abruptly decreeing a reduction in the currency's redemption value, reducing the value of everyone's holdings.
Read more about Devaluation: Devaluation in Modern Economies