Cells have organelles that perform essential functions like generating energy, breaking down waste, and reproducing. Lysosomes digest macromolecules and remove cellular waste. Mitochondria and chloroplasts generate ATP through cellular respiration and photosynthesis respectively, and have double membranes and DNA resembling bacteria. This supports the endosymbiotic theory that they originally evolved from engulfed bacteria. Vacuoles and vesicles transport materials within the cell, and peroxisomes help break down fatty acids and detoxify the cell.