Android Device Partitions
The Android firmware is composed of several image files.  These image files are flashed to (device specific) locations on your devices internal memory.  Typically these images are for the bootloader, recovery, fastboot, and the system (OS).  The remaining memory is mapped to your internal storage.  Since each device expects them to be located at different locations depending on the manufacturer, you cannot modify them safely.