Typical online casinos, for instance, usually require the patrons to deposit a given amount of money (referred to in most circles as the 'playing deposits') - from which the casinos are then able to pay the winnings to the lucky players, finance their operations (staff costs, web hosting costs in the case of online casino, and so son), and also to make a profit for their creators, the 'house owners,' as it were.
medical