Application of a directed almost tree
What you are looking for are directed acyclic graphs (DAGs). If you want your DAG to have a unique "root", then you can ask for a DAG with a single source. DAGs are very useful in many branches of computer science.