# Working with tree sequences <img align="right" width="73" height="45" src="https://raw.githubusercontent.com/tskit-dev/administrative/main/logos/svg/tskit-rust/Tskit_rust_logo.eps.svg">

The next several sections provide examples based on a tree sequence with two trees.

The first tree is:

```md
     0
    +++
    | |  1
    | | +++
    2 3 4 5
```

The second tree is:

```md
         0
       +-+-+
       1   |
     +-+-+ |
     2 4 5 3
```


