The neat thing is that you can use tags to represent custom data structures or functions. For example, AWS Cloudformation uses YAML tags as a shorthand for template functions [0].
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...