Brooklyn Nine-Nine 's plots is set in a fictional 99th Precinct in Brooklyn .
The series revolves around Jake Peralta ( Andy Samberg ) , an immature but talented NYPD detective in Brooklyn 's fictional 99th Precinct , who often comes into conflict with his new commanding officer , the serious and stern Captain Raymond Holt ( Andre Braugher ) .
Brooklyn Nine-Nine