There are several types of different games like these.
Usually, you want to get rid of all of the pieces on the board to clear the level. There can be lots of pieces on the game board and you might have to think hard about which pieces to click on next.
You link identical pieces together to clear them. What are these games? On the surface, they are very simple games.