Question: how mitochondria and chloroplast originated from free-living cells?
Answer: The mitochondrion and the chloroplast are both organelles that were once free-living cells. They were prokaryotes that ended up inside of other cells (host cells). They may have joined the other cell by being eaten (a process called phagocytosis), or perhaps they were parasites of that host cell.