If you want I can recommend you a variety of great platformers.
I would be an idiot to say no to that.
I'm only including what I consider must-plays to get you started. Criteria for platformer is that platforming has to be a primary gameplay element (determined by the frequency in which it is engaged in).
2D Platformers:
Super Mario Bros 3 (this is the best mario game bar none. Forget the rest. It's so damn solid)
Earthworm Jim
Jazz Jackrabbit
Donkey Kong Country
Donkey Kong Country 2
Sonic 2 (it's not mindblowing, but a solid classic of the genre nonetheless and we need at least one sega exclusive here)
Metroidvania:
Hollow Knight
Castlevania: Symphony of the Night
Castlevania: Circle of the Moon
Castlevania: Portrait of Ruin
Castlevania: Order of Eclessia
Blasphemous
Salt & Sanctuary
Local CO-OP Platformers (Girlfriend Games):
Spelunky
Lara Croft: Temple of Osiris
Lara Croft: Guardian of Light
Kirby Superstar
3D Platformers:
None are must-plays. Serious. In my experience they all have their major drawbacks. Tomb Raider has mediocre combat. Spyro The Dragon is a little easy. Crash Bandicoot is a little too linear and has some shitty minigames. But nonetheless, these are my favourite 3D platformers and I think they are well worth playing if you can overcome their shortcomings:
Tomb Raider
Tomb Raider 2
Spyro the Dragon
Crash Bandicoot: The wrath of Cortex (Possibly the best one in the series).
Dying Light (I lied. this is the one must-play. Platforming is the highlight here even if there's lots of combat, and it's fucking great).
Prince of Persia: Sands of Time
There are still many 3D platformers I've yet to play, moreso than 2D, so don't consider me any kind of authority on them. I have played quite a few though and rather a lot are kinda shit. I think Mario 64 has to be one of the most overrated games of all time. The camera isn't so good. Mario controls like shit. The level design is not up to par. The art style makes my eyes bleed and the noises Mario makes is just too much. I'm also not quite sure what people see in Psychonauts.
Good platformers with potential drawbacks or just isn't amazing:
Examples would be Super Meat Boy (it's solid but nothing special), Mirror's Edge (Good but not great). Should you get into platformers ask again and I'll take the time to write up the rest of what I recommend.