Everything is for a reason!
A man drives a taxi to make a living, a chair is made to sit on, milk and cereal is bought for breakfast…etc. Similarly what we call the world and everything that we experience in it is indeed for a reason! The reason is Allah.
Without Allah noting can and has to exist. Allah created consciousness. We have been given limited consciousness without it why would we even exist? we know and are aware about our immediate environment and this tends to be limited. Allah is aware of everything and everyone.
When the Prophet of Allah (PBUH) was questioned about the soul, He replied, it is the will of Allah.