This is a pretty big simplification but it serves to get over the essential points about systems

Appendices - Systems: an overview