Shorting, or short-selling, is when an investor borrows shares and immediately sells them, hoping he or she can scoop them up later at a lower price, return them to the lender and pocket the difference. But shorting is much riskier than buying stocks, or what's known as taking a long position.