People invest with the hope of earning a return over time. But what happens when you choose to sell? Cost basis is key to understanding your tax obligations and the true profit of your investments.