'Branding' can be used in the context of a product. (for example: Suzuki is a brand name)
'Branding' also refers to the marking of an animal's skin to show who it belongs to.
So in this case 'branding was something done to a cow' is literal.
Student or Learner