Loading your experience...
by (indicates a means)
"Thomas hat das Geld verdient, indem er Limonade verkauft hat."
while, at the time that