This book provides a comprehensive overview of cyber-physical systems and the security concepts like attack detection methods, system failures, risk identification, and management. It further elaborates on different machine-learning approaches to detect anomalous data from sensors, reinforcement learning, and time-series clustering.