I have an imac intel it died I have removed the hard drive placed it in an exte

I have an imac intel it died I have removed the hard drive placed it in an external enclosure and retrieve the data?

Yes. Just make sure you retrieve the data on a Mac. If using Window, have 3rd party software installed to recognise OSX file system.