'wherein' in which:
The industry will have a situation wherein many companies will be unable to afford to stay in business.
He gazed once more around the room, wherein were assembled his entire family.
'therein' in that place; in him/her/it:
It is a thrilling tale of a haunted house and the ghosts therein.
Therein lies the risk. (Here is the risk)