RTX interview question

What are threads and how do they function?