The "imprecatory psalms."

Explain your understanding of the "imprecatory psalms." In what sense did these function as prayers and petition in ancient Israel? In what manner would they have functioned as "song" within the liturgical context of ancient Israel?