Buddy cop

Buddy cop is a film and television genre with plots involving two people of very different and conflicting personalities who are forced to work together to solve a crime or defeat criminals, often learning from each other in the process. The two are normally either police officers (cops) or secret agents, but some films or TV series that are not about two officers may still be referred to as buddy cop films/TV series. It is a subgenre of buddy films and crime fiction. They can be either comedies or action-thrillers.