What does ‘dick’ mean?

( n ) A private investigator. Sally hired a private dick to tail her husband.