From the Super Mario Wiki
The game starts with an alien on the ground, and a flying UFO. The UFO occasionally shoots a beam. The player needs to get the alien inside it so it can enter the spaceship. If done so, the game is won. However, if the time runs out and the alien is still on the ground, the player loses the game.
The player starts off the game with 5 seconds.