Fun fact, it's exactly the same as the m4a format, but with a different file extension. (Which macOS uses to add some UI sugar on top; but the data is the same.)
pro-tip, you can convert your audible aax files to m4b with ffmpeg! you need to determine your key which is like a 6 character key, and fairly easy to figure out how to find.