template: The template for the Lightning web component. In light DOM components, use this instead of this.template to access the template as there’s no shadow root.
refs: Accesses DOM elements in a specified template.
LightningElement is a wrapper of the standard HTMLElement interface. A custom Lightning web component, which extends LightningElement, inherits properties and methods from HTMLElement.