Goal (Super Mario Land 2: 6 Golden Coins)
From the Super Mario Wiki
The Goal in Super Mario Land 2: 6 Golden Coins (also called Stage's End) is an event found at the end of most levels in the game. The goal consists of two options to choose from: A door which will simply complete the level, and a bell which will allow the player to play a bonus minigame when hit. Usually to get to the bell, the player has to jump on platforms or other obstacles to reach it.
If the player hits the bell, a minigame begins.
In the Crane Game, the player has to press the to make the moving crane drop and collect one of the rewards, which are moving on a conveyor belt. The rewards vary between levels, but usually contain power-ups and 1-ups. Collecting the reward will have it take an immediate effect on Mario.
In the Ladder Game, players can move Mario to one of four slots where players then press the button to hit a block. Two rats jump around very rapidly on wires, which lead to a Super Mushroom, a Fire Flower, a Carrot, or a 1 UP Heart. When a block is hit, the rats eat two of the wires, and an electric shock travels to the item, which floats down to Mario and grants him the power-up. If the shock leads to a power-up that the player does not want, then the player can simply press left on the D-Pad to exit the game without obtaining it.