Citadel interview question

How does a thread work?