Animals engage in courtship for a number of reasons. Foremost is to determine if they are both members of the same species (this is very important in insects).