A leaf node contains simple data such as an integer or a character string. It has exactly one value of a particular type and no child nodes.
Take a leaf node named host-name as an example. The name is a character string. YANG example:
leaf host-name { type string; description "Hostname for this system"; }
NETCONF XML example:
<host-name>my.example.com</host-name>