The shape of a cell depends on the function it performs. As per the different functions that different cells perform, they obtain different shapes. For example, a nerve cell has a long portion called an axon because it has to transmit information over long distances.