The photosynthetic process in plants and algae occurs in small organelles known as chloroplasts that are located inside cells. The more primitive photosynthetic organism like oxygenic cyanobacteria contains light-harvesting pigments, which absorbs carbon dioxide and release oxygen.