"Giovanni" refers to two distinct major characters:
Ruthless leader of Team Rocket in Red/Blue/Yellow and the anime. Uses Ground/Poison types (Persian, Nidoking, Rhydon). Seeks world domination via Pokémon exploitation.
A mysterious figure in Pokémon Black/White, father of the antagonist N. Advocates for Pokémon liberation and human-Pokémon separation. His motives are philosophical, not criminal.
Connection? Fans theorize they are the same person (time travel, alternate timeline), but no official confirmation exists. Specify which game/media you mean.