A sportsbook is a place where people can make a bet on different sporting events. Its purpose is to pay those who correctly predict the outcome of a contest and to keep stakes from those who lose. It operates differently depending on where it’s located, and it must comply with state regulations in order to operate. It’s important to understand how a sportsbook makes money so you can choose the right one for you.

The most common type of betting is called a straight bet. It’s simply a wager on a specific event. For example, if you think the Toronto Raptors will beat the Boston Celtics in an NBA game, you would place a straight bet on the team. Another type of bet is a spread bet. These bets involve giving away or taking a certain number of points, goals, and runs that correspond to the expected margin of victory for each team.

Most of the money a sportsbook makes is through commissions on winning wagers. In addition, sportsbooks also collect taxes on losing bets and use this money to cover overhead costs.

Despite this, the industry is plagued with problem gambling, especially as more and more Americans turn to mobile betting. To combat this, leagues and sportsbooks are working to educate fans and develop tools that can identify early signs of addiction. And with 90% of legal sports betting in the United States now online, it’s easier than ever for operators to know who’s who and track their play.