Most sewing machines come with a zipper foot. This can be used to put in piping, so no additional feet are needed. But if you’re willing to invest a few dollars, you can get a piping foot (shown on the right), and adding piping becomes simple.
Is a cording foot the same as a piping foot?
By the way, piping and cording are essentially the same at the start. Simply put, cording is sewn inside out and turned, while piping is sewn right side out and then the seam allowance is inserted into another seam. The same type of foot is used to sew them all.