Like the choices so far - definitely assuming you want to narrow it down to a few.
I have been playing guitar for way too long, and been in a ton of bands - just stating that so’s you know I listen with an ear towards playing, too…
Aerosmith - any of the first four albums, but especially Toys in the Attic (has Walk this Way and Sweet Emotion) and Rocks
Zep - II (with Whole Lotta Love), IV (with Stairway and Rock n’ Roll). Physical Graffiti is a fave, but start with one of the others
Hendrix - get a best of. Essential Jimi Hendrix, I think, has 20 of his best tracks - the cover is a photo of him in gold and white (as opposed to black and white)
Ozzy - I got Tribute because it has I Don’t Know, Crazy Train and Flying High Again, and because Rhoads plays exactly the way he does on the studio albums.
Jeff Beck Group - Truth or Beckola. Monster albums from the master, with Rod Stewart back when he had credibility. Truth is the album that got me off of bad 70’s rock and led me to really pursue playing guitar well. Beck is the best lead guitar player, pretty much ever - says more with one note than most say with thousands…
UFO - Strangers in the Night - one of the best live albums ever. These versions of Lights Out, Only You Can Rock Me, and especially Rock Bottom are awesome. Michael Schenker’s lead playing was just amazing and the songs are great, great songs.
Van Halen - first Album. 'nuff said.
Cream - Strange Brew, the Very Best of Cream. Great songs, good playing.
SRV - Best of. I have all his albums - he is truly amazing, but this best of should do it.
AC/DC - Highway to Hell is my fave. Anything with Bon Scott on vocals will serve you well.
Who - Who’s Next
Stones - the big 3 (Let it Bleed, Sticky Fingers, Exile on Main St) but know that Keith plays in an open Blues tuning on a lot of the songs…
Queen - probably A Night at the Opera - whatever has Bohemian Rhapsody on it.
There are plenty of others, but you get the idea. These are all 5 star CD’s that rock hard, have great songs, and are playable. Most of the other recommendations are strong from the other posters, too - there are exceptions, but why stir the pot…