Deloitte Interview Question

How do you bind the variables?(Different ways of fetching data from backend in lwc) For the same given below task - Fetch the data from the contact object whose last name contains ‘test’ and display the data in lwc. Questions on the same - what is $, why have you used it?