The government of US provided an array of visas for immigrants and non-immigrant students. Purpose of your visa to US determines the type of visa you need. For instance, if you're on a temporary visit then, it can be tourist visa, business visa, student visa, etc. however, if you're planning to settle in US permanently, then you will need green card or an immigrant visa.