A casino is an establishment for certain types of gambling. It may be attached to or combined with hotels, resorts, restaurants, retail shops, and other tourist attractions. In some countries, casinos are licensed and regulated by government authorities. In other countries, they are regulated by gaming commissions or private groups. In addition to gambling, casinos often host live entertainment events such as stand-up comedy shows, concerts and sports matches.

Most casino games have a mathematical advantage for the house, which is uniformly negative from the player’s perspective. This is known as the house edge or expected value. Casino games with skill have an element of strategy that can reduce the house edge, but these strategies are difficult to master and require considerable time and money to implement effectively. Casinos earn a profit by taking a percentage of the money wagered on their games, which is called a rake.

While the math is against you in almost every casino game, some people still try their luck. These gamblers often walk out of the casino with less money in their pockets than they walked in, which is a reminder that even if you win big at one game, it’s probably not in your best financial interest to keep betting.

Modern casinos spend a large amount of their resources on security. They have a physical security force that patrols the floor, and they have a specialized surveillance department that monitors the action on closed circuit television. Casino employees also watch for blatant cheating and scams, such as palming, marking cards or switching dice.