Yes. Go to Applications, Utilities, System Information.app. Or, click on the Apple in your upper top left corner (menu bar) and then click on "About this Mac". When that opens, click on "More Info" and then "System Report". There is also the Apple Hardware Test.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.