Create link in toc to a headline within a section or scene

I would like to create a link in the toc for an EPUB to a headline within a section or a scene, is that possible? And if ”yes” how do I do that?