In Toy Story, Buzz Lightyear is given to a boy named Andy Davis from his mother as a birthday present. Buzz is uncertain that he is just a toy modeled after the character, believing that he is a bona fide Space Ranger instead, and that it is his mission to protect the galaxy from the Evil Emperor Zurg, as well as that his laser is a fatal weapon and his wings enable him to fly. He quickly becomes Andy’s favorite toy, making Andy’s original favorite toy, a cowboy doll named Sheriff Woody, feel jealous. The effects of Woody’s jealousy eventually leads both him and Buzz to be captured by Sid Phillips, the toy-torturing boy who lives next door to Andy’s house. While imprisoned in Sid’s house, Buzz Lightyear sees a television ad featuring himself and realizes that he is a toy and not a Space Ranger. But when he tries to fly out of the window, he falls, causing him to break his arm. Upon understanding this, Buzz Lightyear becomes depressed, but Woody eventually convinces him that it is a good thing. Buzz regains hope and working together, the two escape Sid, return to Andy (who decides that Woody and Buzz are his joint favorite toys) and become best friends.