Fan runs with the light; timer keeps it running after switch-off.
Tap any wire, switch or device to see what it is.
Fan gets permanent L, N and a switched live from the light. The 3-pole isolator breaks all three for maintenance.
When the light goes off, the timer runs the fan for a set time.
Study notes paraphrased — check against your copy of BS 7671.