Tomatoes get ripened due to an element present named ethylene gas. It makes the tomatoes and even other fruits ripen on the vine.