This document provides a technical review of cyber-physical systems (CPS) that focuses on their architectural modeling and cybersecurity analysis. It begins with an abstract that introduces CPS as heterogeneous systems where computing and communication systems interact with and control physical dynamics. The document then provides an overview that categorizes CPS architectures and identifies challenges related to their security and development. It analyzes cybersecurity issues for CPS and explores future research directions to address open problems.