SMS dit: Fundamentals and applications of chemical sensors