A computer system is composed of both hardware and software components, each playing a crucial role in its functionality. Hardware includes physical elements like memory chips, which store and retrieve information as needed, and the motherboard, which houses essential circuits.