Paytm Labs interview question

how do bind and apply work in Javascript Functions?