Only one type of cell was given, but different types of cells are structured differently in response to what function they need to perform.
For example, muscle cells are like that because they need to be flexible. Bone cells, however, are compact. This is because bone cells need to be durable, to keep the body together.