What @alexandros said.
To give you a quick concrete example. Here’s a sample shortcode definition that calls a partial. Let’s say the shortcode is named some-shortcode.html
{{ partial "some-partial.html" . }}
Then use the shortcode in your content like
{{< some-shortcode >}}