Apple Airport Express what is it used for?

If I'm right, is an Airport Express used to extend the base router.Eg. I have the router downstairs and connect it to the Airport Express via a HomePlug in my bedroom to connect my MacBook Air, iPhone & iPad. I've made a diagram: image.

It is a wireless connection, from over 20 years ago.