Investors can offset equity-related losses against other capital gains to lower tax liabilities. The adjustment depends on the nature of the loss and capital gains type. Details here.
Can you use stock market losses to reduce tax on other capital gains? Income tax rules explained