זנים בתוך מערכת אקולוגית מאורגנים בתוך שרשרת מזון, סדר רציף שבו אנרגיה וחומרים מזינים מועברים דרך אורגניזמים שונים. כל זן בשרשרת מייצג מקום מסוים שידוע כרמת הזנה. הקצה הנמוך ביותר מכיל יצרנים ראשוניים הנקראים אוטוטרופים, אורגניזמים שמקבלים את האנרגיה כדי לסנתז חומר אורגני חדש ממקור אנרגיה אביוטי, כגון אור השמש.כל הרמות שמעל מכילות הטרוטרופים, אשר חייבים לקבל אנרגיה מאורגניזמים אחרים. הרמה הראשונה של הטרוטרופים היא צרכנים ראשוניים, אורגניזמים הניזונים ישירות מיצרנים ראשוניים. הבאים בתור, צרכנים שניוניים, מקבלים אנרגיה מהזנה מצרכנים ראשוניים, ואז בתורם נאכלים על ידי צרכנים שלישוניים.עם זאת, אורגניזמים אינם בלעדיים תמיד לקטגוריות אלו. לדוגמה, נץ יכול להיות גם צרכן שניוני הניזון מציפורים אוכלות גרעינים, וגם צרכן שלישוני הניזון מנחשים, שגם הם עשויים להיזון מציפורים אוכלות גרעינים. מפרקים, הכוללים פטריות, חיידקים ואוכלי רקב, מרכיבים את רמת ההזנה הסופית.אורגניזמים אלה ניזונים מהשרידים המתים של אורגניזמים אחרים, וניתן למקמם בכל מקום בתוך שרשרת המזון.