# ThingsBoard Relations :::info Aim: To describe the relation meaning in ThingsBoard, and what's the different between `Contains` and `Manages`. ::: <br/> ## Outbound & Inbound ![image](https://hackmd.io/_uploads/HJbwekSPyx.png) Outbound relations: `from` Inbound relations: `to` Ex: Data in an asset A is outbond from the device a-1. <br/> ## Contains & Manages ![image](https://hackmd.io/_uploads/H1ALS1BPJe.png) Contains: This relation indicates that one entity is a part of another entity. For example, a building (entity) might contain several rooms (entities). It’s a way to represent hierarchical or nested structures. Manages: The relation signifies that one entity has control or administrative responsibilities over another entity. For instance, a user (entity) might manage several devices (entities). It’s used to represent supervisory or administrative relationships. <br/> ## Reference [ThingsBoard doc - relations](https://thingsboard.io/docs/user-guide/entities-and-relations/#relations)