Gacha is a mechanic that originally used in Japanese toy vending machine that has been implemented into many free to play mobile games. It mostly is used to make the game have a monesization aspect.

Source : https://en.wikipedia.org/wiki/Gacha