A system is consisted of components functioning together in a predefined order to meet a certain goal.
Many systems are consisted of subsystems.
A subsystem is a smaller system inside the main system.
All real systems have interactions with outside accepting inputs, processing it and delivering outputs.
A computer system is an example of a real world system.