To replace a security that has a capital loss with another security that is similar, in order to receive a tax benefit.