What is the prisoner’s dilemma, and what general conditions characterize the prisoner’s dilemma?

What is the prisoner’s dilemma, and what general conditions characterize the prisoner’s dilemma?