The Pokémon franchise always tries to keep things as wholesome as possible. In fact, there's hardly any mention of struggle or conflict in the games or the anime, except for the regional evil team. The world seems quite ideal to live in: a place where there seems to be no poverty, corruption, or problems of any kind.
In keeping with this tone, nearly every character in the franchise is on the "good" side. Even the villains eventually repent and atone for their mistakes, with some notable exceptions. Some of these redemptions make sense and others don't, but they are all still enjoyable to watch.
Lawrence III
Lawrence III is the main antagonist of 1999's Pokémon: The Movie 2000 - The Power of One. He's a Pokémon collector obsessed with capturing the legendary "Beast of the Sea," Lugia, and plans to catch the Bird Trio of Articuno, Zapdos, and Moltres to lure Lugia out.
His actions provoke a ferocious battle between the three birds, which Lugia tries to calm. Thanks to Ash's timely help, Lugia manages to stop the fighting, and all Pokémon return to their respective homes. Lawrence, alone and deprived of his machinery, repents and decides to start fresh, albeit on a smaller scale.
Gladion
Throughout his journey, Ash shares rivalries with a lot of characters. Some are friendly, but others are more antagonistic, like the one he shares with Gladion during his time in Alola. Gladion is the son of Lusamine, the president of Aether Foundation, and Lilie's brother. He's a distant and impatient boy who nevertheless cares deeply for his family and Pokémon.
Gladion shares an intense but respectful rivalry with Ash, whom he acknowledges as a worthy Trainer. They both make it to the Manalo Conference's finals and face each other in a battle that Ash ultimately wins. Gladion graciously admits his defeat and congratulates Ash on becoming Alola's Champion.
Faba
Like Gladion, Faba is a character from the Sun & Moon season. He's an Aether Foundation employee with a taste for drama and a very particular flare. He has an obsession with the Ultra Beasts and once accidentally summoned a Nihilego. It attacked Lily, making her afraid of Pokémon, but Faba allowed everyone to believe the accident was Gladion's fault.
Faba eventually confesses, apologizing profusely for his actions and redeeming himself. He becomes a close ally of the Ultra Guardians, although he retains part of his sneaky and mean-spirited personality.
Team Rocket
The Rocket trio still serves an antagonistic role in the anime, but they aren't real villains. Many times, they display kind and selfless behavior, at times even putting others' well-being above theirs.
In the third movie, Spell of the Unown, they actively help save Ash's life. In the Unova arc, they also help Looker stop Colress's mind-controlling machine, and during their time at Kalos, they help Ash stop a group of Malamar from re-making the world. Most memorably, Jessie, James, and Meowth fight against a Pokémon poacher and his Tyranitar with their bare hands to allow Arbok and Weezing to escape into the forest. Now, those are real heroics.
Sabrina
Sabrina is the star of one of the anime's most bizarre and unsettling episodes. She's the leader of Saffron City's Gym and a Psychic-type specialist. Her childish persona resides within a doll that she always carries around, while her physical body behaves more callously and stoically.
During their match, Sabrina's Kadabra brutally defeats Ash's Pikachu. She then traps Ash, Misty, and Brock inside her giant play town, before shrinking the latter two and imprisoning them inside her dollhouse, along with her mother. After Ash's Haunter manages to make her laugh, both sides of her personality join, and she becomes a more well-rounded person, reuniting with her parents.
Paul
Out of all of Ash's rivals, Paul is perhaps the cruelest. At the beginning of the Diamond & Pearl season, Paul is a ruthless Trainer who believes Pokémon are tools and not living beings. He mistreats and pushes them to the edge, to the point of physically harming them. He also releases those Pokémon he considers useless, famously deserting the Chimchar that would become Ash's Infernape.
After several defeats, including a final one against Ash, Paul understands that his Pokémon care for him, and he begins to treat them more respectfully. He never becomes affectionate towards his team, but the series hints that he'll eventually get there.
Gary Oak
No matter how many rivals come and go, Pokémon fans, and Ash himself, will always have a soft spot for Gary Oak. Like Ash, Gary is a Pokémon Trainer from Pallet Town and Profesor Oak's nephew. He acts as Ash's main rival for most of the Kanto and Johto seasons, sharing a friendly but adversarial dynamic.
Gary is usually dismissive of Ash's achievements and constantly berates and undermines him. He is also quite popular and has his personal group of cheerleaders that follows him around. Gary and Ash have an intense battle in the Silver Conference that ranks as one of the anime's best. In the end, Ash's Charizard defeats Gary's Blastoise, and the two depart as friends. Gary returns several times, most recently during the latest episode of Pokémon Journeys.
Mewtwo
Mewtwo serves as the main antagonist for the first-ever Pokémon movie. Created in a lab and living in isolation for years, Mewtwo grows confused about his place in the world and develops an intense hatred for humans and the Pokémon who work alongside them.
Mewtwo eventually escapes from Team Rocket and challenges the strongest Trainers, wishing to prove his superiority. After understanding that the bonds between Pokémon and Trainers are more complex and intimate, he and other cloned Pokémon leave in search of a place where they can belong. Mewtwo then becomes a savior to mistreated or endangered Pokémon, finally finding a purpose.