What actually happens after you get arrested in NYC

All I wanted to know was how the NYC government works and now I’m insufferable at parties. Around 90% of people arrested in NYC are released after their arraignment. After a person is arrested, they must be brought in front of a judge to have their bail set prior to their court date. The purpose [ ]