Some students chose geology as the subject for their experiments .
Your answer would be D) Simile.
This is because the clause compares the loneliness to a cloud, and similes are used to compare things, like "The food was as hot as the sun" or "The school was like a zoo".
I hope this helps!