How to do understitching like this without a lining?

I am trying to understand how the seamless look on these pants was done. At first I thought it was understitching a lining but it really doesn’t feel like these pants are lined, so I don’t know how they did it. Do I need a serger to get this look?