When you get one of the visas for immigration, you will also get a residence permit. The residence permits can be temporary and permanent. Temporary residence permits allow foreign nationals to stay in Germany for a specified period of time and then return to their home countries. Permanent residence permits mean that the foreign national can stay in Germany as long as they want to, can leave and return to the country whenever they want to. However, a permanent residence permit does not mean that you get a German citizen.