An embedded system is a combination of hardware and software that forms a component of a larger machine. It is designed to run without human intervention and may need to respond to events in real time. Examples include microprocessors that control engines in automobiles. Embedded systems are used in a wide range of applications from consumer electronics like TVs and washing machines to industrial systems like medical equipment, office machines, tools, transportation, and building systems. Microcontrollers are commonly used as embedded systems and contain a CPU, memory, and input/output capabilities on a single chip.