What's the difference between Render denoising and Compositing Denoising?

I saw a tutorial where the guy render without using either optix or intel denoiser. but does it during the compositing with a denoise node.

whats the difference?

Hi.
Denoise node uses intel denoiser OIDN. The result should be the same whether you use OIDN from render properties or a single Denoise node in compositor:
https://docs.blender.org/manual/en/latest/compositing/types/filter/denoise.html

There aren’t many advantages to using one or the other if you use a single node in compositor directly connected to the render result output. But you have much more possibilities and freedoms to use it in the compositor if you use special node configurations.

If you use compositor just remember to disable denoise from Render tab properties. It’s a common user mistake to forget to disable it in the render tab properties, so denoise is then run twice with respective loss of detail if you had connected the node to Image output instead of Noisy image output (Noisy image output is only available when denosie is enabled in the render tab). I had proposed Noisy image output to always be available if you have denoising data enabled, but I haven’t been heard.

There’s special node configurations for just denoising?

To improve the noise reduction result (although this will result in a longer time). Or using different denoise settings for different passes or render layers.