Grinding (video games) has goal game item
Grinding is a term used in video game culture, referring to the act of repeating an action or set of actions to achieve a desired result at a level of certain difficulty, typically for an extended period of time, such as earning experience points, in-game loot and currency or to improve a character's stats. Grinding is commonly performed in MMORPGs. 
Synonyms for grinding includes treadmilling, which is a comparison with exercise treadmills, and less commonly pushing the bar. Related terms include farming, in which the repetition is undertaken in order to obtain items, relating the activity to tending a farm field.Approaches
Regular grinding
For some games, grinding is an integral part of the gameplay and is required if the player wants to make significant progress. In some cases, progression may be entirely negated if the player does not grind enough, for example an area necessary for the story may be locked until a certain action is repeated a certain amount of time to prove the experience of the player. Examples of games with grinding include:
RuneScape requires the player to partake in repetitive tasks to level up skills. An example would be the "Slayer" skill, which requires players to defeat a certain number of a specific type of creature. The monsters are chosen based on the player's combat level. Players gain experience while fighting the monsters, which increases both their Slayer level and their combat skills. Because the effort is repetitive and time-consuming, it is considered "grinding".
Borderlands 2 requires players to repeatedly kill specific enemies to acquire Legendary items. Legendary drops are not guaranteed to be dropped the first time, therefore the enemy who drops the desired item will likely have to be fought multiple times.
Minecraft allows players to gather materials by exploring in caves, on the surface, and by other means. However, some materials are harder to find than others, such as diamond or netherite. The most common strategy for finding these materials is to obtain the fastest tools possible, that being a diamond or netherite pickaxe, shovel and axe (depending on the material that you want to grind for) that has been enchanted with Efficiency V and using this pickaxe in tandem with a Haste beacon. With this combination, most common blocks can be mined immediately, massively decreasing the time it takes to find rare materials.Parody
The repetitiveness of grinding has given birth to early iterations of idle games, such as Ayumilove's HackerQuest V1 (2008), which parodies a bot grinding for items and avoiding GMs (Game Masters) in Maple Story, a famous MMORPG from Korea.