A casino is a building or room where gambling games of chance are played. Its customers gamble by playing games of chance or skill, including roulette, craps, baccarat, blackjack, and video poker. Most casinos have an advantage over players, which is mathematically determined and called the house edge. The gambling industry generates billions of dollars a year. The profits go to the owners, corporations, investors, and Native American tribes that operate casinos, as well as to state and local governments that regulate them.

Many people associate casinos with the glitzy megaresorts in Las Vegas, but they come in all shapes and sizes. Some are small businesses defined more by the types of gambling they offer than by glitz and glamour. Casinos are also found on boats and barges on waterways, in horse racetracks as racinos, and in truck stops and bars. They even have locations on the Internet.

Although casinos depend on the patrons’ honesty, they use security measures to prevent cheating and theft by both employees and patrons. The most obvious measure is the presence of cameras throughout the casino. Security personnel also monitor the actions of casino patrons to spot patterns that indicate a dishonest intention, such as palming or marking cards. They watch how tables are occupied and who is winning or losing. If they suspect any illegal activities are taking place, they can notify law enforcement. They also give out complimentary goods and services to frequent patrons, known as comps.