Beginner need help how file moving script could look like

Hi there,
I am an absolut beginner in scripting.
I am using Ubuntu Linux 18.04 LTS:
I just need some hints/suggestions how a script could look like doing the following stuff:

assuming I am in directory "base_directory"
like
xyz@mypc:~/base_directory$

within the "base_directory there are some subfolders (random name) having subfolder (random name)
there is a structure like:

base_directory/t3egjtj/g353grrhg/ and
base_directory/t464rrgg/3t344gf/
base_directory/f3h4egg3g/3h44geg/
base_directory/hejg3g/fg4j5j/

and so on....

each of the "sub-subfolders" contains several files

like ffe.txt , dwfekt.c etc.

now would like to grap e.g. all files with .c extension of every sub-subfolder and
move all files with .c extension to e.g. folder

/my_destination_folder

is there an easy way to do so?

sorry for such a dump question but I am completely new in this and want to check
how much effort it takes to implement (maybe such simple) file operations.

Best Regards

dut

Welcome to the forum.

Are those subdirectories always two levels deep, or is that depth arbitrary? Are the .c files only in the leaf directories, or all over the place? Do ALL .c files go into one single target directoy? Do you know about the find command, which is ideally suited for task like this?