Deductions & credits

Can you explain "the passive loss will be an offset when you sell"?

Thanks.