From the Super Mario Wiki
A Time Limit (or simply Time) is instituted in almost every platformer game, and its basic purpose is to notify the player of how much time is allotted to complete a level or task. It is a prominent element in the Mario platformer games. When the time limit decreases to below 100 seconds, the "hurry up" jingle traditionally plays to warn that the player is low on time and the level's music plays at a rushed tempo.
While the player is in a level, the time limit decreases at a steady rate until it reaches zero. If the player does not finish the level when time is up, they automatically lose a life and have to start the level over (or receive a Game Over when they have no more to lose). Once the player finishes a level, the remaining time is multiplied by a number and then added to the player's score (or coin total in Super Mario 3D Land). With few exceptions (e.g. in Super Mario World, Super Mario 3D Land, and Super Mario 3D World), it is impossible to increase a level's time limit. In Super Mario 3D Land, New Super Mario Bros. 2, and Super Mario 3D World, the time limit glows red when it is below 100 seconds.
Games in which the time limit appears