How did the buzz lightyear toy evolve in the toy story films?

Quick Answer
The Buzz Lightyear toy evolves from a confident, space-ranger action figure who believes he is real in the first two films to a more self-aware, emotionally mature character who embraces his identity as a beloved toy by the later films.
Explanation
In Toy Story, Buzz Lightyear is introduced as a new, high-tech action figure who initially believes he is a real space ranger on a mission, not a toy. His arc centers on the painful realization that he is a mass-produced plaything, which leads to a crisis of identity and a suicide attempt from a windowsill. By the end of the first film, Buzz accepts his role as Andy's toy and develops a genuine friendship with Woody, marking his transition from delusional hero to loyal companion.
In Toy Story 2, Buzz's evolution deepens as he helps Woody confront his own fears of being replaced and discarded. He demonstrates increased emotional intelligence and leadership, organizing the rescue mission and showing compassion for other toys, including the vintage Roundup gang. His confidence is no longer rooted in false beliefs but in genuine care for his friends and acceptance of his purpose as a toy.
By Toy Story 3 and beyond, Buzz has fully matured into a stable, empathetic figure within the group. He supports the other toys through major life changes, such as Andy growing up and the transition to a new owner, Bonnie. His evolution reflects themes of letting go, adapting to change, and finding meaning in relationships rather than in grandiose fantasies of heroism.