If you want to study in Sweden, you need a resident permit. You will find more information on how to proceed on the link below:
Studying in Sweden
For further details please see the menu on the bottom of this page.