The main function of chloroplasts in a plant cell is:
C. They perform photosynthesis.
Chloroplasts are the organelles responsible for capturing light energy and converting it into chemical energy through the process of photosynthesis, allowing plants to produce their own food.