anyone plz help me out with following ques..it's needed for my interview process

What is Socket Programming-


What are its functions-


What exactly it does-


Where exactly its used-


Kindly give the day to day basis example in short-