Where are the photosynthetic pigments located in a phototrophic purple

Where are the photosynthetic pigments located in a phototrophic purple bacterium? A cyanobacterium? A green alga? Considering the function of chlorophyll pigments, why are they not located elsewhere in the cell, for example, in the cytoplasm or in the cell wall?