iFogSim works on the Sense-Process-Actuate model. Every Sensor generates a tuple to share the its sensing status to the immediate node on the network. This video discusses about the role of the tuple class model and how it can be extended.
A sensor class model utilizes the tuple class model.
To understand more about the Sensor and other entities, the prerequisite is to understand the Entities of ifogsim simulator, which can be read on: https://cloudsimtutorials.online/ifogsim-entities/