Digital Twin is a virtual representation of a physical device.
It consists of Data Structure, Logic, and Visualization (in my opinion, an optional part of the Digital Twin).
We use sensors to gather data about the monitored device and store obtained information using the Data Structures of Digital Twin.
We can get additional information about the device from External Systems and also store it using the Digital Twin’s Data Structure.
We leverage Logic to run, for instance, a simulation. The simulation takes as input data from the Data Structure of our Digital Twin and can produce a meaningful output stored inside the Data Structure of our Digital Twin.
We utilize Simulation’s output to update the state of our device, for instance, via some External System. We can optimize how our device operates based on data stored and analyzed using Digital Twin.
I explained this concept on my YouTube channel - video.