How to deploy VMs on an LXD cloud?

I’m working on figuring out how LXD profiles work if you are keen on learning more on this topic. How does LXD profiles really work?