In order to capture the audio that you’re hearing on your Mac (say, from an Internet radio broadcast), you need to use some additional (free) software called Soundflower.
A while ago, we put together a video that shows you how to achieve this: