Match-3 puzzles trace back to Shariki (1994) and were popularized by Bejeweled (2001), then reached mass audiences with games like Candy Crush Saga (2012). Candy Match plays the same core loop with an original candy set.
Swap two adjacent candies to line up 3 or more of the same kind in a row or column. Matching 4 creates a striped candy that clears its whole row or column when matched again. Matching 5 creates a color bomb that wipes out every candy of one color. Beat the target score before you run out of moves.