# Fogwing Hierarchy

The below diagram will represent the structure of the Fogwing platform modules and functional relationship between each components.

![Functional hierarchy of the Fogwing platform](/files/-M8X-5iBW8PZFlHh5hmA)

Please note the below relationship between each functions within Fogwing.

* **Organization** -   Each instance of the Fogwing should have only one organization. Super Admin is the owner of Organization setup. Since Enterprise Cloud environment is multi-tenant, Organization level of controls are owned by Factana (unless customer purchases a dedicated environment) .
* **Tenant** - Tenant is a sub-organization owned by each customer registered in Fogwing Enterprise Cloud. This includes community users, small, medium enterprise who subscribed to Fogwing Enterprise Cloud.
* **Application** -  Applications are owned by tenant. Each tenant user may create one or more IoT application to group the edge devices and business logics.
* **Edge**  -  Each edge device should belong to only one application. Edge and related connection cannot be created without application.
* **Data Rules** -  Data driven rules can be created with association of one application and Edge or LoRa devices.&#x20;
* **Command** - Each command should be created with association of one application and Edge. Generally Edge is the receiving end of command. Therefore each command should deliver command message to only one Edge device.  Command cannot be delivered to LoRa Gateway and Node in the current version of the Fogwing Enterprise Cloud.
* **User** -  Tenant Admin may create multiple users with role as Tenant Admin or Tenant Viewer. Tenant cannot create or modify the organization since organization is the Super User.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fogwing.io/fogwing-platform/learn-the-fogwing-architecture/fogwing-functional-hierarchy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
