ping vs nslookup?

Why nslookup works but ping says &#x201C;Name or service not known&#x201D;? Let&#x2019;s get basic terminology straight up and it&#x2019;s assumed you already understand how DNS resolution works. In my quest to understand how tools like nslookup and ping behave differently, I was honestly confused