Answer:
Both mitochondria and chloroplasts are organelles. Mitochondria are used in cellular respiration and chloroplasts are used in photosynthesis. Photosynthesis and cellular respiration are opposite processes. Both are believed to have evolved from a living single celled bacteria that was engulfed by an early form of a plant or animal cell. Therefore, both mitochondria and chloroplasts have their own DNA. Furthermore, they both have free ribosomes.
NOTE! they both DO NOT have 2 membranes. chloroplasts have 3 membranes