Gains and losses can influence an investor’s decision about when to sell a stock or other asset. If an investor sells a stock at a profit, they would make money, but also have to pay capital gains tax on their earnings. Conversely, if an investor sells a stock at a loss, that capital loss can be applied to a capital gain to reduce the amount of tax owed.