Every organism needs to obtain energy in order to live. For example, plants get energy from the sun, some animals eat plants, and some animals eat other animals.
A food chain is the sequence of who eats whom in a biological community (an ecosystem) to obtain nutrition. A food chain starts with the primary energy source, usually the sun or boiling-hot deep sea vents. The next link in the chain is an organism that make its own food from the primary energy source -- an example is photosynthetic plants that make their own food from sunlight (using a process called photosynthesis) and chemosynthetic bacteria that make their food energy from chemicals in hydrothermal vents. These are called autotrophs or primary producers.