In this thesis, we theoretically investigate the electronic and optical properties of diluted magnetic semiconductors quantum wells and quantum dots. This is strongly motivated by many experimental results on the optical properties of these materials. Using spin-density functional theory we described the electronic states as a function of the external magnetic field for quantum wells which have barriers doped with magnetic impurities. Our model takes into account the many-body effects of the two-dimensional hole gas and the interaction between carriers and the magnetic ions. We compare our findings with the available experimental os estados iniciais e finais da emissão, o que nos permite determinar o número de camadas confinadas no ponto quântico e o spin eletrônico. Com esse método de diagonalização exata, explicamos a origem da estrutura fina do biexciton confinado em um ponto quântico dopado com uma única impureza magnética.