This is most likely a vintage double-wheel pastry cutter and crimper, sometimes called a pastry jigger or double pastry wheel.
The two rotating wheels are designed to roll through dough. Similar double-wheel pastry cutters use one wheel to make a straight cut and another to create a decorative or fluted edge. They can be used for pastry, pasta, ravioli, pie crusts, and cookies.