Currency pegging is fixing a currency's exchange rate to another currency or basket of currencies. It facilitates trade between countries and helps control inflation by providing predictable exchange rates. The main advantages are promoting trade and investment by providing stability and controlling inflation. The main disadvantages are a lack of independent monetary policy and dependence on the anchored currency. Floating exchange rates fluctuate based on market forces, with the main advantages being less need for intervention and insulation from other economies. However, volatility can increase under a floating regime.