What was the Purpose of Ellis Island?

Ellis island, which is part of the Statue of Liberty National Monument, was the main port of entry facility for immigrants entering the United States.