In the derived category, one doesn't want to directly compute say the $k$-th slot of a complex as complexes can have many different quasi-isomorphic representations. That is in the derived category, there is no distinction between say a module M thought out as a complex supported in degree zero and a projective resolution.

Instead, you might want to know what the cohomology is of the dualizing complex. Indeed, in general $h^n( \mathbf{R}\textrm{Hom}_R(L,M)) = \textrm{Hom}_{D(R)}(L,M[n])$ where $R$ is a commutative ring and $L$ and $M$ are complexes of $R$-modules, see SP TAG 0A64, however this is not always easy to apply to an example. Sometimes it is easier to wrap your head around $\mathbf{R}\textrm{Hom}$ by noting that one has derived hom-tensor adjunction, that is $$\textrm{Hom}_{D(R)}(K, \mathbf{R}\textrm{Hom}_R(L,M)) \cong \textrm{Hom}_{D(R)}(K \otimes_R^{\mathbf{L}} L, M)$$ for complexes $K,L,$ and $M$. Maybe the derived tensor product feels easier to understand.

However, dualizing complexes for say modules over local rings have specific interpretation via local duality. I'll leave you to find the corresponding global scheme-theoretic versions. If $(R,\mathfrak{m})$ is a local ring and $\omega_R^{\bullet}$ is a dualizing complex, which is only unique up to quasi-isomorphism and shift, so it often assumed to be normalized so that $h^{-\textrm{dim} R}( \omega_R^{\bullet})$ is the first non-zero cohomology module, then $\omega_R = h^{-\textrm{dim} R}\omega_R^{\bullet}$ is a canonical module for $R$. Local duality gives in the complete case a quasi-isomorphism $$\mathbf{R}\textrm{Hom}_R( K, \omega_R^{\bullet}) \cong \text{Hom}_R( \mathbf{R}\Gamma_{\mathfrak{m}}(K),E)$$ where $E$ is the injective hull of the residue field. That is,$R$ is Cohen-Macualay if and only if $\omega_R^{\bullet}$ has only one non-zero module of support at $-\textrm{dim} R$ and when $R$ is Gorenstein, this module is isomorphic to $R$.

As an example of how this is used, let's show a quick proof that when $R$ is a local Noetherian domain, $\textrm{Ann} H_\mathfrak{m}^i(R)$ is not zero for $i < \textrm{dim} R$. Indeed, you just need to find an element $r$ so that $r h^{-i}(\omega_R^{\bullet}) = 0$ by local duality. Each $ h^{-i}(\omega_R^{\bullet})$ is finitely generated, so if we localize at the unique minimal prime, we end up with a dualizing complex over a field. The latter lives in exactly one degree, $-\textrm{dim} R$.

Finally, an important computational note is that when $S$ is a regular ring and $R = S/I$ then $\omega_R^{\bullet} := \mathbf{R}\textrm{Hom}_S(R,S)$ is a dualizing complex for $R$. Also, often dualizing complexes are used to control the study of singularities. Once one has such, they are most often studied by viewing them in various commutative diagrams and taking homology, so one almost never needs to know what the actual supporting modules are but much more interested in the cohomology of the complex.

Residues and dualitywhich starts from scratch. $\endgroup$