Set a coupon as a percentage off or a flat amount off, with an optional limit on total uses or an expiration date.
Run a sale across your whole catalog for a set period, without editing every product's price by hand.
Track how many times each code has been used, so you know which promotions are actually driving sales.