Iwasawa decomposition, Cartan algebras and relative root systems of real semisimple Lie groups