Dietitians in pediatrics work with children and their families to ensure proper nutrition. They often collaborate with pediatricians to create specialized diets for children with specific health conditions, such as diabetes or food allergies, and offer guidance on healthy eating habits.