Yes, tax is applicable on stock-based income. A two-step taxation procedure is applicable in this case:
At the time of allotment of shares, as compensation income
At the time of sale, as capital gains. Certain exemptions and/or concessional tax rates are available on the sale of shares listed on a recognized stock exchange in India, depending on the period of holding.