1 , which performs the function of photosynthesis. 2  Chloroplasts are double-membrane-bound, like mitochondria. 3  Also like mitochondria, their inner membrane is very complicated. 4  In fact, it's formed into many thylakoid structures which perform the same function performed by the thylakoids in prokaryotic cells.