Caterpillar Interview Question

what is interface? why we use interface