The components in an IC aren't just randomly thrown together in the package. They are connected to form a miniature circuit that performs one or more functions, such as counting or adding two numbers. Among the most complex ICs are the microprocessors that do most of the work involved in running your laptop, tablet, smartphone, and other devices.
Microprocessors — which contain millions (or billions) of tiny transistors and other components — perform many functions and are often called the brains of computing.