Match the items in groups of three or more to remove them.
To swap the items select one by click it with your mouse, and than click on an adjacent item or just drag it into adjacent cell.
A context menu should be shown when right-clicking or, on touch devices, long-pressing in the game. This menu especially allows to play in full screen and control the volume.