It describes the duration of something, like in these examples:
* Awhile ago, I saw a bird outside.
* I will stay here for awhile.
However, it's worth noting that "awhile" is sometimes mistakenly used as a noun. The correct word for that is "a while."
* I'll be back in a while.