Fish are part of food chains, but they are not producers in the traditional sense.
Producers make their own food via photosynthesis (plants, algae). Fish are consumers, obtaining energy by eating other organisms. Some eat plants or algae; others eat fish and invertebrates.
Fish occupy consumer trophic levels, often above primary producers.