If you have music on your iPhone, most likely it's saved onto the default Music app for iOS. You can transfer these songs to your Mac's iTunes application either via the iCloud, plugging your phone into your Mac, or having your iPhone sync via wifi with iTunes on your Mac.