In Magento2, within the page we can move containers and blocks to different places. We can move blocks and containers with the help of layout file.
Use following code snippet in layout file to move blocks and containers.
"name of conatiner or block"
"destination block or container name"
Here is an example. We will move price block to media block on product page.
Now we will move the price block.