An embedded system is a specialized combination of computer hardware and software designed to perform one or a few dedicated functions within a larger mechanical or electrical system. Unlike general-purpose computers (like laptops), they are purpose-built for efficiency, strict timing, and specific, constrained tasks.