Thoughtworks interview question

What is the difference between String and StringBuilder and how they work internally.