To, for instance, print the name of a company you need to 'point' to the variabele that contains this company name value. To do this 'pointing' you use a key-path.
A CxScript line to print the name of a company could look like:
<cx:write value="$activity.toCompany.name"/>
The actual key-path in the previous line is: activity.company.name.