Aye-ayes are nocturnal and feed primarily on insect larvae, particularly the larvae of wood-boring beetles, which they locate by tapping on tree trunks with their specialized middle finger. They also eat other insects, fruits, and seeds. Aye-ayes have a unique feeding mechanism, where they gnaw into wood and extract larvae with their long, thin middle finger.