An embedded system is a hardware and software package built to execute a specialised function on a computer.