What is child and descendant combinators?

i did not get that what is the use of these two combinators and what is the difference between them?

Descendant will pick all the tags inside the parent tag even if they are under another tag for example:
div p will pick all p tags in div even if p is under another tag inside div:

> <div>
> <section><p>HI</p></section>
> </div>

And child combinator(div > p) will not pick this because it is under section tag but it would definitely pick this:

> <div>
> <p>HI</p>
> </div>

These two links explain the difference very nicely:
https://www.w3schools.com/css/tryit.asp?filename=trycss_sel_element_gt
https://www.w3schools.com/css/tryit.asp?filename=trycss_sel_element_element

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.