It is done either for bravado, boredom, suicide or other reasons. It sometimes used in fiction as part of interrogations, where the interrogator asks the suspect if he wants to play a game of Russian roulette and palms the bullet.