How can plants make food without sunlight?

They can't. Plants need sunlight, water, and soil to grow or to produce anything. So it is unable to make food without sunlight.