Well, for a Glock that’d be a Lower Parts Kit, a slide (with barrel), locking block, and rails.
For some guns, like the HiPoint C9, a kit usually has all the replacement parts you need.
The specific parts you need can usually be found in the instructions for the 3d print files.
You can make the part that is legally considered a gun. There is one guy that made a completely PLA gun, but it used special custom ammo.
There’s multiple designs that just need a trip to the hardware store to complete.