Gathering
Set a long straight stitch and sew two rows inside the seam allowance, leaving thread tails. Wrap the tails around a pin at one end and pull the bobbin threads from the other until the edge matches the piece it will join. Even the gathers with a fingernail, then sew on the real seam line.
Use a strong thread for the gathering rows if the cloth is heavy. A weak thread snaps halfway and you start again.
A gathering foot ruffles as you sew. It is on its own page. Use it for a frill whose exact length does not matter. For a skirt to a waistband, the two pulled rows are easier to match.