Chloroplast function is:

DNA replication

Protein synthesis

Photosynthesis

ATP synthesis