Pregunta de entrevista de Apple

How does memory management work in iOS?