Hello @sumukha_shah
Capital Gains will be taxed in a similar manner even though shares are purchased using Margin trading facility. However, you can claim the interest or charges paid to the broker as a direct expense while calculating the Capital Gains.
Thank you.