A system is a group of interrelated parts that work together to accomplish a goal. There are two types of systems: open-loop systems, which continuously interact with the environment or humans but do not self-regulate, and closed-loop systems, which operate and self-regulate without external interaction except for initial input settings. Examples of open-loop systems include computers, washing machines, and dishwashers, while closed-loop systems include air conditioners and hot water heaters.