Although the intelligence services of the UK (and overseas) do work together, they have some distinct differences in their focus.
MI5 deals with threats that come from inside the UK, MI6 deals with threats from outside the UK, and GCHQ gets intelligence through communications, especially online.