Fetching details from the dictionary...
while; during; as
while; although; though; despite; in spite of; notwithstanding
all; both
as (e.g. "as always", "as long ago"); in (e.g. "in tears")
while doing something else (at the same time)
音楽を聴きながら勉強した。
I studied while listening to music.
歩きながらスマホを見るのは危険だ。
Looking at your phone while walking is dangerous.
残念ながら参加できません。
Unfortunately, I cannot participate.