Hi @srinivas_chann1 ,
If you are migrating your application components to HTL then first you need to understand the business logic behind. The view can be written in HTL files. The resource resolution can be understood on below links-
https://www.youtube.com/watch?v=yRQxErOJoww
https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/sling-cheatsheet.h...
One more thing, you have mentioned node names in the query. Few nodes are required to build the component whereas we can also create custom nodes based on the logic what we are going to write.