Documentation on email templates
The answer:

These lines allow CiviCRM tokens to be available to Smarty functions. The headerStyle value is contained within the {capture} item.

Documentation found here: 


CiviCRM Wiki: Smarty in email templates
Smarty docs: {capture} tag