The following image will show you the hierarchy of architectures of Android:
Linux Kernel: this is the core of android. This facilitates all the connections between hardware devices and consist all the basic hardware drivers like keyboard, camera and touch display. And also this level handles all the things of android.
Libraries: above the kernel are sets of necessary library files which also includes open source code including web browser, libc, SQLite database which is a useful storage facility for sharing application data, files for record and play audio and video and