Pregunta de entrevista de RTX

What are threads and how do they function?