2 is one of the main characters in the movie 9. 2 is a small, sentient rag doll who is brought to life by a machine called the Fabrication Machine. The Fabrication Machine is a machine that can create anything from scratch. 2 is the only character in the movie who is able to talk and seems to be the leader of the group of sentient rag dolls. 2 is also the only character who is able to remember anything from before they were created by the Fabrication Machine.
2 is killed by the Science Experiment, who is a sentient rag doll that was created by the Fabrication Machine to experiment on the other rag dolls. The Science Experiment is later killed by 9, who is another main character in the movie.