It is similar to MacOS X architecture
It acts as an intermediary between the iPhone and iPod hardware an the appearing applications on the screen.
The user created applications never interact directly with the appropriate drivers, which protects the user applications from changes to the hardware.