Get subpages list of current page

How do I get a subpages list array or tree of the current page?

I'm trying to add a custom sidebar navigation with pages.

I'm using Release - 1.8.16