Tough and sexy New York police detective Nikki Heat leads the investigation into the death of a New York real estate tycoon who plunged to his death on a Manhattan sidewalk. She's hit with an unexpected challenge when the commissioner assigns superstar magazine journalist Jameson Rook to ride along with her to research an article on New York's Finest.
Richard Edgar "Rick" Castle (born Richard Alexander Rodgers) is a fictional character on the ABC crime series Castle.
The name Richard Castle is also used as a pseudonym under which a set of real books about the characters Derrick Storm and Nikki Heat, based on the books mentioned in the television series, are written. These books have achieved success, becoming New York Times bestsellers. Actor Nathan Fillion appears as the face of Richard Castle on the books and on the official website, and participates in book signings. The Castle book series was actually written/ghost-written by screenwriter Tom Straw.
Source: Wikipedia