Luxoft Interview Question

How does preprocessor work? Can you explain it detailed and from start to finish?