The sensor layer is part of a radio-frequency identification (RFID) tag, and the sensor data can be read wirelessly using a RFID reader. The sensor transmits information about the freshness of the food in the package to the retailer or customer. The freshness data can be stored in real time in the cloud, enabling the comparison of food quality with its previous or later condition.