An embedded system is a specialized computer system—combining hardware and software—designed to perform a dedicated function within a larger mechanical or electronic device. Unlike a general-purpose PC that runs many different programs, an embedded system is built for specific, often real-time tasks with tight limits on power, size, and cost.