A key character friendship in Brooklyn Nine-Nine is a perfect reflection of Andy Samberg and Chelsea Peretti real life. Between the hilarity, hijinks, and Halloween heists, the core of Brooklyn Nine-Nine is the friendships between the main characters of the NYPD's 99th precinct. Each pairing among Brooklyn's Nine-Nine lead group has its own flavor — whether that be Jake's enviable buddy friendship with Boyle, the "two dads disappointed with their unruly children" vibe between Captain Holt and Terry, or the gradual thawing of relations between Rosa and Amy. These unique friendships are the most vital ingredient in Brooklyn Nine-Nine's sitcom soup.
https://screenrant.com/brooklyn-99-jake-gina-friendship-real-life-samberg-peretti/