Computer science is defined as the study of computers and their architecture, languages, and applications. It deals with how instructions and data are processed. It also includes the mathematical structures that relate to computers and computations, algorithms, data transfers, and security.
Computer science also has several specializations such as machine learning, data science, artificial intelligence, human-computer interactions, and cloud computing, and video game development.
On the other hand, computer engineering is a branch of engineering that deals with the designs and application of hardware and software for computers interface.
Computer engineering also has specializations, which include: embedded systems, computer and network security, robotics and cybernetics, distributed computing, hardware systems, and image computing.