Capgemini interview question

What is a sigmoid function and why is it used?