> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/get-started/learn-langstack/basics-and-essentials/what-is-a-data-type.md).

# What is a Data type?

* A Data Type is a categorization of data. A Data Type in a variable defines how the variable's value will be interpreted and processed.
* Simple data types are String, Boolean, Integer, Numerical, Character, GUID, Timestamp, and DateTime.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_2/ch2whatisadatatype_img1.png>" %}

* Complex data types are API gateway, Json, JXPFlowAppActivity, JXPHttpRestResponse, JXPResponse, Record, WebRequest, and WebResponse.&#x20;

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_2/ch2whatisadatatype_img2.png>" %}

* Entity-based data types are user-defined entities.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_2/ch2whatisadatatype_img3.png>" %}

* A variable can contain only one (1) Data Type.
