One function of display is in courtship . In most species the male has a striking feature that is distinguished by color , shape or size , used to attract a female . One example of display used by some species can be found in the form of courtship , with the male usually having a striking feature that is distinguished by color , shape or size , used to attract a female .