Yep, that’s exactly what happens 🙂 The cotyledons (seed leaves) only feed the seedling in the very early days. Once the plant has a couple sets of true leaves and can photosynthesize properly, the cotyledons have done their job.
They’ll usually turn yellow, dry up, and eventually drop off on their own. Nothing to worry about – it’s totally normal and just part of the plant’s life cycle.