Pregunta de entrevista de Tata Consultancy Services

What are threads in java?