There are three main types of organisms: producers, consumers, and decomposers. Producers like plants can produce their own food through photosynthesis. Consumers like animals obtain energy by consuming other organisms. Decomposers such as bacteria and fungi break down dead organic matter and cycle nutrients in the environment. Together these three groups participate in complex food webs that sustain life.