Data structure

Data Structure is any structures that holds data. The most common forms of data structures in real-world programming applications are structs and objects.

Structs are simply collections of data with no inherent functionality, and are commonly used in the C programming language.

Objects, like structs, contain data. However, unlike structs, objects contain functions that allow the programmer to define different behaviours for different objects. Most modern programming languages (including C++, Python, and Java) make frequent and heavy use of objects.