Three main regions of the cell and their functions