Shorting, is selling now and buying later, instead of buying first and selling later. So, when shorting you are betting that the price will go down, so that you sell high now with an obligation to buy later, hopefully at a lower price. If the price goes up, you buy at the higher price and lose money.
-PJ