Lightning McQueen is a car racer. He was very arrogant and selfish at the beginning. Good things about him is the fact that he is a good racer. But his ego and pride blinds him.
Lightning McQueen changes a lot when we reach the end of the movie. He is no longer selfish or prideful. He learns what it means to have true friends. He cares about other cars and not just himself which was one if not his main issue that he cared about nothing but himself. Being with those cars in the small town really changed him. Because they were such peaceful loving cars they were able to help change Lightning into becoming a better car.
When Lightning is offered a place to stay from the car girl that he likes. She is kind to him and lets him stay in a comfortable place which makes him realize how much of a nice car she is. Also Lightning's best friend who wants to go on a helicopter. He takes Lightning on adventures such as the cow scene, which are signs of friendship. All of these actions little by little build up and fully change Lightning.