Earwigs hide during the day and feed on leaves, flowers, fruits, mold and insects at night.

 

Source: https://www.pestworld.org/