Is Marketing Branding? Or the other way around?

Branding and Marketing are used interchangeably. Branding is about building recognition and connections, marketing explores ways and means to get it done across a range of media by defining customer segments and the outreach to them