[Question] How do you learn to take more beautiful pictures with a camera?

When I see professionally made photos, I can see that they look different and better then pictures I randomly take. I however have no idea how to aquire that skill. Has anyone here learned how to take good photographs and an idea of what’s the easiest way to learn it?