For individual words, your best resource is a good dictionary that has example sentences. There are many on-line. Query=while The second best resource is a corpus that has been assembled for the purpose of language study.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Hole One a New See (What is your opinion about it? I found it tremendously useful).If you use onelook, you will get a list of many dictionary choices, including specialty dictionaries such as medical, law, and technology.