Micro-compartments such as carboxysomeprovides a further level of organization, which are compartments within bacteria that are surrounded by polyhedral protein shells, rather than by lipid membranes. These "polyhedral organelles" localize and compartmentalize bacterial metabolism, a function performed by the membrane-bound organelles in eukaryotes.
Many important biochemical reactions, such as energy generation, occur by concentration gradients across membranes, a potential difference also found in a battery. The general lack of internal membranes in bacteria means reactions such as electron transport occur across the cell membrane between the cytoplasm and the periplasmic space., in many photosynthetic bacteria the plasma membrane is highly folded and fills most of the cell with layers of light-gathering membrane. These light-gathering complexs may even form lipid-enclosed structures called chlorosomes in green sulfur bacteria. Other proteins import nutrients across the cell membrane, or to expel undesired molecules from the cytoplasm.