Reading Your Portfolio: Cost Basis, Unrealized and Realized Gain

What cost basis means and the difference between realized and unrealized gain.