Sensing technologies support timely and critical decisions to save precious resources in healthcare, veterinary care, food safety, and environmental protection. However, the design of sensors demands strict technical characteristics for real-world applications. In this Viewpoint, we discuss the main challenges to tackle in the sensing field and how photonics represents a valuable tool in this sphere.