A ticket is a small, official piece of paper or card which shows that you have paid to enter a place such as a theatre or a sports ground, or shows that you have paid for a journey.
A ticket for a game of chance such as a raffle or a lottery is a piece of paper with a number on it. If the number on your ticket matches the number chosen, you win a prize.