This is a cherry pitter. The metal ring holds the cherry while the piston forces the pit out right through the cherry.
Also seen to be used as an olive pitter. Same solution, similar problem.
Cherry or olive pitter: first two fingers trough the side loops, thumb through the center loop, raise the plunger and insert the fruit pole to pole at the bottom and depress the plunger