You get certain tax breaks if you keep your investments within an ISA or a pension.
However most profits you make from investments are taxable so always make sure you make full use of tax free investments before you invest elsewhere.