Related but Different
Both are in the genus Nepeta, but they are not the same plant.
Catnip
Nepeta cataria is the species known for its strong effect on cats.
Catmint
A broader term for other Nepeta species used as ornamental plants. Effects on cats vary.
Catnip is a specific type of catmint, but not all catmints are catnip.