By rubbing their wings together, the males chirp in order to attract a female.  Some males make chirping sounds after mating as a sort of celebration song. Not all species are able to make a chirping sound.