Foods rich in tryptophan, such as turkey, chicken, dairy products, nuts, and seeds, can promote good sleep. Tryptophan is an amino acid precursor to serotonin and melatonin, hormones that regulate sleep-wake cycles.  foods containing magnesium, like leafy greens, nuts, and whole grains, help relax muscles and promote sleep. Consuming these foods can enhance sleep quality and duration.