The correct response is:
Courtship behavior is used to attract a mate, and territorial behavior is used to protect an area in which an animal lives.
This response accurately defines each type of behavior. Courtship behavior involves actions aimed at attracting a partner for reproduction, while territorial behavior involves actions taken to defend and maintain a specific area against others, which can include competitors or threats.