Pregunta de entrevista de Apple

What's the difference between a reference type and a value type in Swift