Can unrealized losses help offset taxes?

Can unrealized losses help offset taxes?