Learning Lie theory regarding root systems generally proceeds as follows:
You learn about complex Lie algebras first. As Vincent says this makes things easier, because you always have eigenvalues. For example this means that semisimple elements are exactly diagonalisable elements. So when you take a Cartan subalgebra you can find root spaces and they are all 1-dimensional, etc.
When you want to tackle real semisimple Lie algebras you run into a couple problems. For example, consider $\mathfrak{su}(n)$. All its elements are semisimple but none are diagonalisable, so what does it even mean to be a root of $\mathfrak{su}(n)$? One natural path here is to just complexify the real Lie algebra $\mathfrak{g}$ to $\mathfrak{g}^\mathbb{C}$ find the root system of $\mathfrak{g}^\mathbb{C}$ and then refer to that as the root system of $\mathfrak{g}$. Of course there are several different real Lie algebras which complexify to $\mathfrak{g}^\mathbb{C}$ so this idea doesn't distinguish between these "real forms" until we add the extra information of what complex conjugation does to the roots (adding that information is exactly what a Satake diagram is for).
At this point let's mention groups. The root system of a Lie group is just the root system of its Lie algebra. Again there are multiple groups with the same Lie algebra so a root system won't distinguish between them, but we have at least that all those (connected) groups are related by having the same universal cover.
So the root system of $(K,T)$ is the root system of $(\mathfrak{k},\mathfrak{t})$ which is the root system of $(\mathfrak{k}^\mathbb{C},\mathfrak{t}^\mathbb{C})= (\mathfrak{g},\mathfrak{h})$ basically by definition. Likewise the Weyl groups are the same.
An important side note to be aware of is that there is another way to talk about root systems for real Lie algebras, especially for non-compact ones. This is known as the restricted root system. If we take a real Lie algebra and choose a maximal split toral subalgebra $\mathfrak{t}$ i.e. a maximal abelian subalgebra containing only diagonalisable elements (note: this is a tighter restriction then maximal toral subalgebra as that only requires semisimple). For a compact Lie algebra there are no such elements so we don't use restricted root systems for them as they are trivial. Otherwise, we get, in effect, a smaller version of a Cartan subalgebra and we can do the same procedure as for the complex Lie algebras. We divide the Lie algebra into root spaces but now these may have dimension greater than 1. We get a root system this way although we may get a "non-reduced" one $BC_n$ alongside the usual possibilities and the rank of these root systems is the dimension of $\mathfrak{t}$ which is usually smaller than the rank of the root system of the complexified Lie algebra. Sometimes you will see the restricted root system referred to casually as the root system but in the compact case you know that isn't happening as the restricted root system is always trivial for compact Lie algebras.