Producers mean the living creatures that are capable to produce/synthesize their own food. Producers are also called autotrophs, since "auto" means "self" and "trophic" means "to nourish".
Producers are classified into 2 groups:
1. Photoautotrophs ("photo" means light)
Photoautotrophs, are producers that synthesize their food with the help of the sunlight energy. This is what you called "the process of photosynthesis" Energy from sunlight is converted into organic materials (food). ex: plants
2. Chemoautotrophs ("Chemo" means chemicals)
Chemoautotrophs are producers that synthesize their food through the process of chemical reactions. ex: bacteria.
Now, consumers means the living creatures that are incapable to synthesize their own food, so they have to consume (to eat) other creatures. Consumers are also called heterotrophs.
Heterotrophs are classified into 2 groups:
1. Chemoheterotrophs
Chemoheterotrophs are consumers that consume other creatures through the process of chemical reactions. ex: herbivores, carnivores, omnivores, scavangers. Humans are also Chemoheterotrophs. We eat organic compounds like carbohydrates, protein, lipid and inside our bodies, lots of chemical reactions occur.
2. Photoheterotrophs
Photoheterotrophs are consumers that use the energy of sunlight to synthesize their food. It's similar with the process of photosynthesis.
The difference is the main ingredient. Photoautotrophs use Carbondioxide (CO2) whereas Photoheterotrophs use organic compounds...
Arrghh... I tried to make it as simple as possible, but I got too excited... Sorry for the "too long and boring" explanation.