XMP is a type of overclocking. It is a faster setting than the JEDEC standard. Which is 2133 for DDR4, and I think it did move to 2400 and eventually 2666 on some platforms.
So if you have a 3600MT/s XMP profile, you can select that one. There may be different sub timings or entire speeds as profiles in a memory kit (Known as SPD)
But you can also manually set each memory timing and sub timing to achieve, potentially, better results than the XMP profiles. The memory manufacturer will have tested those XMP profiles, so they know the memory can do it, but not necessarily with any given CPU/Memory controller.
There is also DOCP and AMP as alternative standards, though they don't come up as much.