The process by which a foreign national already present in the United States on a valid visa may apply to become a lawful permanent resident without leaving the country. Eligibility depends on maintaining lawful status and meeting other immigration criteria. Individuals who are not eligible for AOS may pursue Consular Processing instead.
Source: USCIS – Adjustment of Status