What is mafia? I never played it
A social deductive game.
A few players play the mafia an informed minority group. And the rest plays the town, an uninformed majority group. Town has to find mafia and mafia has to get rid of town while they act like town.
There are usually 24 hrs of day where everyone can discuss and vote a player. And 24 hours of night where there is no discussion, rather a break and you can use abilities.
A game can last up to 2 weeks usually, depending on host/type/size and such.